Question 16 of 50
Keyboard Accessibility
In HTML, what is the largest value you should set for tabindex
?
Incorrect
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.
Correct
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.
Incorrect
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.
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.