Repository navigation
Open
Labels
concerns: device independenceProposal is hardware- or OS-specific, in a way that may risk the device independence of the Webtopic: accessibilitySpec relates to accessibilitytopic: formsSpec relates to forms, form controls, or form submissiontopic: htmlSpec relates to HTML (Hypertext Markup Language)topic: markupSpec relates to markup: elements, attributes, etcvenue: Open UI CGvenue: WHATWG HTML Workstream
Description
WebKittens
No response
Title of the spec
focusgroup attribute
URL to the spec
URL to the spec's repository
https://github.com/whatwg/html/
Issue Tracker URL
No response
Explainer URL
TAG Design Review URL
Mozilla standards-positions issue URL
mozilla/standards-positions#631
WebKit Bugzilla URL
Radar URL
rdar://108403002
Description
A new HTML attribute that allows for creating focusgroups that are navigable using arrow keys without needing to use JavaScript. (See explainer for a far better explanation)
Reacted by Benny Powers, Oliver Williams, Rami Yushuvaev, Brandon Hall, Andy Earnshaw, Patrick Brosset, mkrause, Ian Duffy and Marieme Azib
Reacted by Mu-An Chiou, Oliver Williams, Rami Yushuvaev, mkrause and Marieme Azib
Metadata
Metadata
Assignees
Labels
concerns: device independenceProposal is hardware- or OS-specific, in a way that may risk the device independence of the Webtopic: accessibilitySpec relates to accessibilitytopic: formsSpec relates to forms, form controls, or form submissiontopic: htmlSpec relates to HTML (Hypertext Markup Language)topic: markupSpec relates to markup: elements, attributes, etcvenue: Open UI CGvenue: WHATWG HTML Workstream
Type
Projects
- StatusShow more project fieldsNeeds position
Activity
hober commentedon Apr 26, 2023
Added
concerns: venuebecause this should be discussed in the HTML Workstream at WHATWG.cookiecrook commentedon May 9, 2023
Overall I think the
focusgroupproposal is a good idea, will be useful to authors, and will be more accessible to users. I'd like to see an example of this non-goal issue.Stated under "Non-Goals" heading:
This intended decoupling of focus and selection may require AT changes (e.g. VoiceOver) in addition to User Agent (WebKit) additions. As such, I think we would need to see an example of the Toggles+FocusGroup combo example that is alluded to here. Especially for an interactive ARIA grid, with multiple selection and multi-directional focus via
focus-group-direction: horizontal;perhaps including the wrap options.4 remaining items
janewman commentedon Sep 17, 2025
Hi folks, the focusgroup explainer has evolved since this was last visited, and I recently created a new, "Scoped" version of that explainer that takes all of these advancements and then scopes the behavior in a few different ways:
I would love to get feedback on the approach; I intended for this to resolve the biggest remaining points of contention.
https://open-ui.org/components/scoped-focusgroup.explainer/
janewman commentedon Jan 20, 2026
Friendly ping to please take a look at the latest explainer and re-review and update your position if needed.
https://open-ui.org/components/scoped-focusgroup.explainer/
lukewarlow commentedon Jan 21, 2026
Removing venue concerns because it's now being progressed through the WHATWG stages.
PR: whatwg/html#11723
Issue: whatwg/html#11641
janewman commentedon Apr 2, 2026
Friendly ping for a position, let me know if you have any questions or need any additional information!
annevk commentedon Apr 7, 2026
Apologies for the long delay here. We like the general idea, but we have some concerns about the specific user interaction model.
We don't expect that all platforms will use arrow keys to navigate between the focusable elements. That should be abstracted, also at the test level. And the tests assume that keyboard navigation is enabled, which it isn't by default on macOS. That should also have some kind of WebDriver toggle that is standardized and the tests use.
[focusgroup] Abstract directional input in WPT tests
[focusgroup] Abstract directional input in WPT tests
[focusgroup] Abstract directional input in WPT tests
[focusgroup] Abstract directional input in WPT tests
janewman commentedon Apr 15, 2026
Appreciate this feedback, and I couldn't be more aligned that this feature should not be limited to standard keyboard arrow keys. I've refactored the tentative tests to abstract away this except in a utility. Ideally, I'd like this utility to take in a preference given by the user agent, but I'll need to spend some more time here to see what our options are to have user agents specify such a preference to WebDriver. Regardless, this would not result in an API change.
As for respecting the keyboard navigation setting in MacOS, it doesn't look to me like WebDriver currently has the ability to toggle MacOS settings, in the meantime I've adjusted all tests to be agnostic of this setting by using an author-specified tab index of 0.
Bug 2031915 [wpt PR 59162] - [focusgroup] Abstract directional input …
Bug 2031915 [wpt PR 59162] - [focusgroup] Abstract directional input …