This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23871 - FKA: Need contextual scoping for tabindex
Summary: FKA: Need contextual scoping for tabindex
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement
Target Milestone: ---
Assignee: Charles McCathieNevile
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y, a11ytf, a11y_focus
Depends on:
Blocks: 24105
  Show dependency treegraph
 
Reported: 2013-11-20 00:40 UTC by James Craig
Modified: 2016-04-14 22:32 UTC (History)
8 users (show)

See Also:


Attachments

Description James Craig 2013-11-20 00:40:31 UTC
There is no contextual scoping for tabindex, so any web app attempting to maintain a non-DOM-ordered tab order has to manage focus for every focusable element in the DOM, when the scoping could behave more like positioning contexts in CSS.

Discussion from bug 23366
Comment 1 James Craig 2013-11-20 20:24:15 UTC
I noticed that LĂ©onie added the accessibility keywords, so I just wanted to clarify that this not an assistive technology issue, as ATs like screen readers have the ability to navigate non-linearly in a variety of ways.

This bug is about the fact that HTML is generally tedious to navigate with a keyboard, and while it's possible to resolve some of these problems in web applications using techniques like "roaming tabindex" and other "focus management" techniques, it's a non-trivial amount of work. HTML should not require authors to do an exorbitant amount of work to implement a useable keyboard behavior in web applications, regardless if their need is related to accessibility, personal preference, or general usability.
Comment 2 James Craig 2014-02-10 19:02:45 UTC
Bradley Meck has some sketched ideas here regarding tabindex scoping (proposed @tabwrap, @tabtarget, @tabwrapper) that could be applied generally and as default values to existing cases like shadow DOM components and frames.

https://github.com/bmeck/fm.js/wiki
Comment 3 Charles McCathieNevile 2015-06-12 14:53:55 UTC
feature request (but one that makes sense)
Comment 4 Charles McCathieNevile 2016-04-14 22:32:01 UTC
This should probably be added to the interaction discussion in general that is taking place in WICG: https://discourse.wicg.io/t/user-interaction-with-web-apps/1177/13 since it is a feature request.

Not that Shadow DOM looks like it will (have to) permit this locally, which is an alternative solution of sorts.