Request for developer feedback: focusgroup | Blog | Chrome for Developers
Briefly

Request for developer feedback: focusgroup | Blog | Chrome for Developers
"The ARIA Authoring Practices Guide (APG) recommends that composite widgets present a single Tab stop and let users move between items with arrow keys. This pattern is known as the "roving tabindex". Many UI frameworks reimplement this from scratch."
"One attribute replaces hundreds of lines of boilerplate. The focusgroup HTML attribute is a proposed declarative way to add keyboard arrow-key navigation to composite widgets such as toolbars, tablists, menus, listboxes, etc. without writing any roving-tabindex JavaScript."
"This is a cross-browser effort: the proposal originates from Microsoft through the OpenUI Community Group with strong support from Google. The API shape may change based on your feedback."
Focusgroup is a proposed declarative HTML attribute that simplifies keyboard navigation for composite widgets like toolbars, tablists, menus, and listboxes. It eliminates the need for manual roving-tabindex JavaScript implementation, which is currently recommended by the ARIA Authoring Practices Guide. The attribute reduces hundreds of lines of boilerplate code that UI frameworks typically reimplement from scratch. This cross-browser effort originates from Microsoft through the OpenUI Community Group with support from Google. Developers can test focusgroup in Chrome, Edge, and other Chromium browsers through experimental flags or origin trials, with the API potentially evolving based on user feedback.
Read at Chrome for Developers
Unable to calculate read time
[
|
]