WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Home button on left, clickable tabindex=-1 logo on the right

for

From: Birkir R. Gunnarsson
Date: Apr 25, 2017 7:31AM


Jon
You are right there, I was being a bit tongue-in-cheek.
But in a practical environment using positive tab indecies ends up
being a problem in, I would say, over 9 out of 10 cases.
Most webpages are huge, and the idea of getting the user directly to
the form quickly breaks down when you forget to assign a positive
tabindex to one of the form fields, or you dynamically add one form
field, (or update the page to add a field) and forget to reorder them.
I can't find the quote, but someone said using positive tab index
values is like adopting a pet crocodile, it starts out cute but grows
fast and ends up ruining your bathtub and eating your children.




On 4/25/17, Jonathan Avila < <EMAIL REMOVED> > wrote:
>> I always call a fail on use of positive tabindex values, because those
>> will break the focus order of the page.
>
> It depends on the situation. If you have a page with two links and two
> input fields -- for example, a simple log in page -- there is no harm in
> using a positive tabindex to order the interactive elements. In general use
> of a positive tabindex is a red flag for issues -- but it doesn't have to be
> an automatic failure as it's possible to pass using that technique.
>
> Jonathan
>
> Jonathan Avila
> Chief Accessibility Officer
> SSB BART Group
> <EMAIL REMOVED>
> 703.637.8957 (Office)
> Visit us online: Website | Twitter | Facebook | LinkedIn | Blog
> Download our CSUN Presentations Here!
>
> The information contained in this transmission may be attorney privileged
> and/or confidential information intended for the use of the individual or
> entity named above. If the reader of this message is not the intended
> recipient, you are hereby notified that any use, dissemination, distribution
> or copying of this communication is strictly prohibited.
>
>
>