-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(a11y): give RadioGroup aria "radiogroup" role #6940
feat(a11y): give RadioGroup aria "radiogroup" role #6940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm generally supportive of the direction of this PR since it improves accessibility, but I also think we should more carefully consider how we approach the composition of the label component in the radio group.
I also support adding role="radiogroup"
to the component since it should generally be there. Could you split that part of this PR out so that we can expedite getting that fixed?
Fixes #0000
Checklist
Changes proposed in this pull request:
RadioGroup
component should be gettingrole="radiogroup"
. Currently, it's just adiv
. Everything else about it works in terms of a radiogroup, ie keypresses, attributes, etc.