Rocket Validator looks for accesibility violations on your pages using the axe-core accessibility engine, hosted on our own servers and integrated into our web crawler. You don't need to buy an additional license, everything's already included in your Pro account at Rocket Validator.
WCAG: Best Practice: Elements should not have tabindex greater than zero
tabindexattribute must never have a value greater than 0 to prevent an unexpected tab order that can give the appearance of skipping some elements entirely.
tabindexwith a value greater than 0 can create as many problems as it solves. It creates an unexpected tab order, which makes the page less intuitive and can give the appearance of skipping certain elements entirely.
Here are some of the problems that
tabindex(with a value of 1 or greater) causes:
- Unexpected tab order: From the perspective of the user,
tabindexchanges the default tab order in unexpected ways, possibly causing disorientation.
- Items can appear to be skipped entirely: Items appear in the tab order only once. If a user tabs past the
tabindexitems and continues through the rest of the web page, at some point the user arrives at the location of the
tabindexitems, but the tabbing process skips over these links, because the user already tabbed through them at the beginning of the cycle. Incorrect tab orders are frustrating when users are unable access items, and may not know that (s)he needs to cycle through the entire set of links on the page to reaccess those links.
tabindexitems are tabbed to before any non-
tabindexitems. If you want to change the tab order of the first items AND of a section later in the page, you would need to set the
tabindexvalue for every single item through to the end of the modified section. Taken to a bit of an extreme, if you have 20 links on a page, and if you set the
tabindexof one of those links to
tabindex="100", the user tabs to that link first, even though there are fewer than 100 links on the page. There is no way to modify the tab order of sections later in the page unless you manually set the tab order of all the links before that section.