fix(a11y): associate group label with radio buttons #1255
Annotations
10 errors and 1 warning
eslint
Type '{}' is not assignable to type 'RadioGroupProps'.
|
eslint
Argument of type '{ radios: RadioItem[]; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
Property 'groupLabel' is missing in type '{ "aria-label": string; radios: RadioItem[]; name: string; value: string; }' but required in type 'RadioGroupProps'.
|
eslint
Property 'groupLabel' is missing in type '{ "aria-label": string; radios: RadioItem[]; name: string; defaultValue: string; }' but required in type 'RadioGroupProps'.
|
eslint
Argument of type '{ radios: (RadioItem | { id: string; label: string; value: string; labelDescription: string; })[]; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
Argument of type '{ inline: true; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
Argument of type '{ inline: true; className: string; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
Type 'RefObject<HTMLDivElement>' is not assignable to type 'LegacyRef<HTMLFieldSetElement> | undefined'.
|
eslint
Argument of type '{ onFocus: Sinon.SinonSpy<any[], any>; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
Argument of type '{ onBlur: Sinon.SinonSpy<any[], any>; }' is not assignable to parameter of type 'RadioGroupProps'.
|
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|