WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Misuse of TabIndex 0

for

From: Devarshi Pant
Date: Jul 7, 2017 2:52PM


Ofcourse, they can arrow down etc., but those who cannot use the mouse
still need to use the tab key to interact with a link / control within a
table. Question being - is it an accessibility issue to use tabindex 0 on
important static text?

You are correct, using table of contents would be more helpful here.

On Jul 7, 2017 15:22, "Patrick H. Lauke" < <EMAIL REMOVED> > wrote:

On 07/07/2017 20:02, Devarshi Pant wrote:
[...]

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.
>

Non-screen reader keyboard users don't just use TAB/SHIFT+TAB. Cursor keys
and SPACE/SHIFT+SPACE are used to scroll/page around a document. So no,
even without making captions focusable, these keyboard users won't "skip
past" the tables, they'd simply use these other keys to scroll/page through
them.

However, if we wanted to be helpful here to keyboard users, why not provide
a table of content at the start of the page with in-page links to jump
directly to the relevant tables?


P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke