Question 1 of 1

Category: Keyboard Accessibility

In HTML, what is the largest value you should set for tabindex?

Reveal Answer

0

Positive tabindex values should be avoided, as they can change the tab order in unpredictable ways, and they tend to be hard to maintain. A value of "-1" allows the element to be focused with JavaScript without inserting it into the tab order, and a value of "0" inserts the element into the tab order according to where it is in the source order.