Skip to content
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

Merged

Conversation

bvandercar-vt
Copy link
Contributor

@bvandercar-vt bvandercar-vt commented Aug 12, 2024

Fixes #0000

Checklist

  • [N/A] Includes tests
  • [N/A] Update documentation

Changes proposed in this pull request:

RadioGroup component should be getting role="radiogroup". Currently, it's just a div. Everything else about it works in terms of a radiogroup, ie keypresses, attributes, etc.

@bvandercar-vt bvandercar-vt changed the title Bvandercar/a11y/radiogroup role feat(a11y): give RadioGroup aria "radiogroup" role Aug 12, 2024
@ggdouglas ggdouglas self-assigned this Aug 13, 2024
Copy link
Contributor

@ggdouglas ggdouglas left a 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?

@bvandercar-vt bvandercar-vt changed the title feat(a11y): give RadioGroup aria "radiogroup" role DRAFT: feat(a11y): give RadioGroup aria "radiogroup" role Sep 13, 2024
@bvandercar-vt bvandercar-vt changed the title DRAFT: feat(a11y): give RadioGroup aria "radiogroup" role feat(a11y): give RadioGroup aria "radiogroup" role Sep 13, 2024
@ggdouglas ggdouglas merged commit 7e5903d into palantir:develop Nov 19, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants