-
Notifications
You must be signed in to change notification settings - Fork 17
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
Consider to don't rely on aria-keyshortcuts #12
Comments
Good to know, thanks! What would be a better way to communicate the available keyboard shortcuts? |
Honestly I don't know :) The spec recommends exposing the shortcuts to all users:
However, the introduction of tooltips would probably be a bit controversial, even if TinyMCE is already using them. I'd consider to add some general info about the new UI in the Help tab at the top of the page, that could include also some info about the shortcuts. It won't completely solve the issue, but could help. I've initially considered aria-labels, for example: Unrelated: |
I am still deciding between tooltips and a general help text. @afercia Are there any new suggestions nowadays by the a11y team? |
Unfortunately there's no documentation on Exposing and Documenting Keyboard Shortcuts. |
Yep it's still in the making... |
Related Gutenberg issues: WordPress/gutenberg#5420 |
I think I am going with tooltips for now until this gets better support in core itself. |
aria-keyshortcuts
is a new property available in ARIA 1.1, still a Candidate Recommendation.While it doesn't harm, support is uncertain and it would be wise to don't rely on it as the only way to provide important information.
For reference:
https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts
The text was updated successfully, but these errors were encountered: