-
Notifications
You must be signed in to change notification settings - Fork 56
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
Early design review: Focusgroup #732
Comments
Hi @benbeaudry - you've listed "Unknown" for the trajectory for this work. Can we assume it would be going to HTML (WHATWG) and CSS wg at some point? cc @travisleithead |
Yes, this is what I assume as well. @travisleithead, can you confirm? |
For https://www.w3.org/WAI/APA/track/actions/2326: My initial review is very positive. However, the explainer and demo (via polyfill) fail WCAG success criteria when it comes to "nested" focusgroups (via extend). Example 11 demonstrates this in the docs and is very similar to the "vertical menu (with horizontal submenus)" example. In Example 11, the The problem is evident in the demo when using keyboard navigation. Users must use ArrowDown until reaching a generic element with no accessible name then somehow intuiting that the ArrowRight key to reach the first sub-menu item. In the WAI examples, the direction change begins on a While the use of |
@benbeaudry Do you plan to add this to ElementInternals as well? I imagine it would be very useful for many types of web components to have as a default. We were also wondering what are your thoughts on the point @AutoSponge raised |
@travisleithead i don’t think we discussed the above, but a huge +1 to @LeaVerou’s comment above on adding to ElementInternals. |
@AutoSponge thanks so much for pointing this out.
I've done a full pass over the explainer to ensure that all the examples are not only properly structured for accessibility (addressing the example you pointed out), but also added appropriate roles/states on custom element names to help reinforce proper first-class accessibility design. (I'm a little ashamed that I missed this previously because so much of the value of focusgroup is for better keyboard-accessibility-by-default.) Please take a look at the PR in case there are still problems--I'm still learning to write good accessible examples :) |
We took another look today and we generally happy with this feature. We will re-iterate that this should be a part of |
Braw mornin' TAG!
I'm requesting a TAG review of Focusgroup.
We propose exposing a new web platform primitive—'focusgroup'—to facilitate focus navigation (not selection) using arrow keys among a set of focusable elements. This feature can then be used (without any JavaScript) to easily supply platform-provided focusgroup navigation into custom-authored controls in a standardized and predictable way for users.
Further details:
You should also know that...
The implementation of the declarative markup part of this feature is mostly completed in Chromium. We still need to discuss further the CSS-part of the proposal before starting to implement it. We feel confident enough about our implementation of the declarative markup part of this feature to start Origin Trials as soon as soon as possible in order to get feedback from the web community and improve it before drafting the specifications.
We'd prefer the TAG provide feedback as:
💬 leave review feedback as a comment in this issue and @-notify @benbeaudry and @travisleithead.
The text was updated successfully, but these errors were encountered: