WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Misuse of TabIndex 0

for

From: Patrick H. Lauke
Date: Jul 7, 2017 1:22PM


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