source
source copied to clipboard
Give radio fieldset a role of radiogroup
By default, <fieldset> elements have a role of group. Updating the role to radiogroup adds extra information that screen readers can convey to users.
As mention in #902 there is an issue with eslint-plugin-jsx-a11y preventing us from making this change. It should have been fixed in jsx-eslint/eslint-plugin-jsx-a11y#746 but it doesn't appear to be live. The latest release of eslint-plugin-jsx-a11y was published in October 2020, and there is a comment in their repo suggesting a new release is coming soon