WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Misuse of TabIndex 0

for

From: Patrick H. Lauke
Date: Jul 7, 2017 7:45AM


On 07/07/2017 14:35, Sailesh Panchang wrote:
> Michael,
> Does this not directly contravene SC 2.4.3: '...focusable components
> receive focus in an order that preserves meaning and operability'?

Going purely by the word of WCAG (if we want to split hairs), once you
add tabindex=0 you've made an element focusable, so it's just the order
that matters.

I do however usually note unnecessary tab stops on non-interactive
controls under 2.4.3 (and, under certain situations, cross-reference the
failure from 2.1.1 Keyboard as well).

I wouldn't say it fails 2.4.7 though, because once you've made an
element that's not normally focusable focusable, then it needs to have a
visible focus indication. The fact that it shouldn't be focusable in the
first place is no excuse for not indicating the focus visibly.

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