WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Misuse of TabIndex 0

for

From: Devarshi Pant
Date: Jul 7, 2017 1:02PM


I have seen text patterns like warning messages / notifications with
tabindex = 0. This practice of using tabindex = 0 judiciously can be
helpful in my view, but open to interpretation when used on static text.

Another example: Consider https://www.ssa.gov/oact/STATS/table4a1.html with
3 large tables using <captions> to delineate unique tables. A screen reader
user is at an advantage being able to list captions from the tables list,
but a sighted keyboard user would skip past these tables unless table cells
have interactive elements. Tabindex = 0 on captions might help users to
stop on the table while tabbing.

And, yes, someone may have a contrary viewpoint.


On Nov 4, 2015 09:59, "Moore,Michael (Accessibility) (HHSC)" <
<EMAIL REMOVED> > wrote:

I am evaluating a large web based application that uses tabindex="0" to
place all of the explanatory text, instructions, FAQ's, questions for
groups of radio buttons and checkboxes, etc. into the tab ring.

I am of the opinion that this violates the intent if not the letter of
guideline 2.4.3 focus order. "If a Web page can be navigated sequentially
and the navigation sequences affect meaning or operation, focusable
components receive focus in an order that preserves meaning and operability"

My interpretation is that by placing inactive/static content within the tab
ring operability is severely adversely impacted for people who depend upon
tab navigation.

Operability is impacted in the following ways:

1. Additional tab stops make it harder to get to interactive controls
like links and form fields. This is particularly onerous for people who use
keyboard navigation due to a physical disability that limits dexterity in
their hands.

2. The additional tab stops may create confusion since the user will
expect to tab to controls, form fields and links and not static text.

3. The additional tab stops may create further confusion since some users
may assume that since the text is focusable that it will be actionable
(This may also violate 4.1.2).

Do you agree or disagree with my interpretation and why? Is there another
guideline at level A or AA that may apply here? Note: 2.4.7 Focus Visible
is being met.

Mike Moore
Accessibility Coordinator
Texas Health and Human Services Commission
Civil Rights Office