On this page
Goal
Ensure that none of the elements on the page use a tabindex of greater than 0.
Why this matters
The user expects the focus order to follow the reading order of the page. This generally requires the DOM (Document Object Model) order to match the reading order.
If the DOM does not match the reading and focus order, then the user can become confused when they expect the focus to move to one location on the page and it moves to a different, seemingly random, location instead.
How to implement
Follow the recommendations outlined in Using the Tabindex Attribute by the Paciello Group.
How to test
- Inspect the page and check the
tabindex
value of any elements where it is set to ensure it is not set higher than0
.