-
Notifications
You must be signed in to change notification settings - Fork 29
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
User stats: stats bar chart can't be read from the keyboard (or by a screen reader) #6322
Comments
@eatyourgreens please take a look at #5842 and the corresponding Grommet PR that was just accepted. Please add more info to your authored Issue on whether @mcbouslog's Grommet PR is a potential fix or not. |
Sorry, I don't understand the question. You can see, in the video that I uploaded here, that my classification stats are not announced by VoiceOver. |
This isn't fixed yet in Grommet. See grommet/grommet#7310 (comment). The Zooniverse dev team should know enough about VoiceOver to have made that judgement without asking for my help. |
That Grommet PR doesn't fix |
I've suggested a possible fix here: grommet/grommet#7319 (comment) Again, this a simple thing that the Zooniverse dev team could have picked up by themselves. |
I think Mark’s Grommet PR, which Hopefully that’s enough info to get you started on debugging it. |
Patrick Lauke’s Why aren’t my live regions working? is a great resource for understanding how to use HTML5 live regions. It covers many common developer errors with live regions, including errors that I think the Grommet code might be making. |
Package
Describe the bug
The new classification stats bar chart requires a mouse, and the individual bar amounts are only visible on hover. Classifications can't be accessed from the keyboard, which means they can't be accessed in a screenreader either.
Additionally, VoiceOver announces the currently selected option as
[object Object]
in each of the filter dropdowns.To Reproduce
Here's a video where I navigate the user stats page in VoiceOver. Notice how selected menu options aren't announced properly, and the bar chart content is skipped completely.
Screen.Recording.2024-09-19.at.13.09.48.mov
Outside of VoiceOver, you can also reproduce this issue by tabbing through the page and interacting with the bar chart from the keyboard.
Expected behavior
Device information
Desktop (please complete the following information):
Additional context
Keyboard access for page content is a level A WCAG requirement (SC 2.1.1.) Level AA is the commonly accepted level used to define a site as accessible to disabled users.
Grommet issue:
The text was updated successfully, but these errors were encountered: