-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[BUG] "Grouped" options breaks screen readers #4277
Comments
There has been some discussion also about supporting nested options so I am not sure if there is a recommended approach for having screen readers handle both this current implementation as well as the proposed solution correctly. I'm hoping to address many of the a11y issues with this into a near future release and would certainly appreciate any support from those who have deeper experience in this area to contribute whatever they know about appropriate syntax and best practices. |
@carsonpowers I have been attempting to read a bit more about how screenreaders handle From an accessibility perspective, I am curious if @kylemh has any thoughts regarding best practices for supporting groups. |
Coverage without using Where did you read about there being poor support for I'm interested in hearing from a JAWS user on grouped dropdown items. I've never looked into grouped select options. |
I read that opinion here but it's also worth mentioning that the article is over 9 years old... so there's that. Here is another article I came across from a few years ago that shows a few different representations of how different SR's treat optgroup which shows a bit of variation I'm interested in taking on aria-live support for this, but unsure what expectations would be. @carsonpowers it appears that SR behavior can vary. Does this behavior noted from the second link seem accurate to you, or is this out of date?
What seems most relevant and at what point? WIA-ARIA support for groups might be a bit more complicated, so interested in how we might want to approach it. |
Are there any updates on this? |
Using the "grouped" feature breaks screen readers.
Because
group
sub-component elements exist as the first item underneathmenuList
; aria readers will think that the dropdown list contains however many group elements there are, NOT however many option items there are, like it should.To reproduce
It's saying 0 of 2 because it's counting the number of
group
elements undermenuList
(Colors
andFlavors
), not theOptions
nested further down insideGroup
.Note> Adding
role="presentation"
togroup
may fix this issue.The text was updated successfully, but these errors were encountered: