-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Command Palette: combobox suggestions are not announced #50846
Comments
Important note: it appears the cmdk demo at https://cmdk.paco.me does use |
Ping for @alexstine 🙂 |
@afercia Thanks for the ping but there's nothing we can do if it is upstream.
This is a big problem in Gutenberg today. Really getting sick of it too be honest. We'll never make anything accessible unless people meet us half way. Not saying it happens this way every time, but it happened here. CC: @annezazu. These are the things leads should be aware of. Command center being inaccessible from day 1. |
@alexstine I know. What can I say... I share your frustration. |
@youknowriad mind digging in here to follow up on this feedback? Thank you for flagging, Alex and Andrea. |
Reopening because this still does not work with Safari + VoiceOver. See conversation starting from #52930 (comment) Worth noting the test instructions, or the actual testing, in the PR that closed this issue were inaccurate in the part |
Sadly, I had no way to test Voiceover at the moment as my Mac is back home. I figured it would be better than nothing to land a Windows fix but that was not intentional to make Voiceover any less important. |
@ntsekouras pinging you back on this after your recent effort <3 |
A fix for Windows already covers a big part of the users and it's very welcome. @alexstine thank you for all your work and commitment ❤️ |
Just to clarify that the fix was apparently for Chrome and Firefox in macOS too. The problem still remains for safari browser. I'll see if I can figure out a fix for that too. --edit I tried to add Reference from Apple dev forums. |
Description
The Command Center implements the combobox ARIA pattern, which is basically a search input combined with a list of suggestions. There are already a few combobox implementations in the editor. This specific implementation uses the
cmdk
external package.Unfortunately, right now the combobox provided by
cmdk
is not accessible. It misses thearia-activedescendant
property. This change upstream pacocoursey/cmdk#108 should fix it but it hasn't been released yet. Hopefully, it will be released before the next WordPress release so that there will be a chance to update the package. However, the currentcmdk
version0.2.0
is not accessible. As such, the Command Center isn't accessible right now and I'm a bit surprisedcmdk
has been picked up with no prior accessibility evaluation.There are a few more a11y issues in the Command Center implementation but it's a bit pointless running a full audit if
aria-activedescendant
doesn't get fixed first.Step-by-step reproduction instructions
Note: I haven't tested on Windows. Worth noting that for some screen readers the
aria-selected=true
property set on the highlighted suggestion may be enough to make the announcement work as expected, but for a full support the missingaria-activedescrendant
property is required.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: