Tabindex

suggest change

Parameters

Value| Meaning |

|——|––––| |negative | element will be focusable, but it should not be reachable via sequential keyboard navigation| | 0 | The element is focusable and reachable through sequential keyboard navigation, but its relative order is defined by the platform convention. | | positive | The element is focusable and reachable through sequential keyboard navigation. Its order follows the increasing tabindex value, and these elements come before elements whose tabindex is 0. |

Remarks

HTML 4 limited tabindex to 0–32767 (W3C HTML 4.01, section 17.11.1). HTML5 also allows negative values. If the attribute is omitted, the element uses the platform default (typically 0 for controls that are normally focusable). It does not default to -1.

An element with a value of 0, an invalid value, or no tabindex value should be placed after the elements with a positive index in the sequential order of keyboard navigation.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents