CSS3 nav-index Property

Example

Specify the tabbing order of two buttons:

button#b1
{
nav-index:1;
}

button#b2
{
nav-index:2;
}


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The nav-index property is not supported in any of the major browsers.


Definition and Usage

The nav-index property specifies the sequential navigation order ("tabbing order") for an element.

Default value: auto
Inherited: no
Version: CSS3
JavaScript syntax: object.style.navIndex=2


Syntax

nav-index: auto|number|inherit;

Value Description
auto The element's tabbing order is assigned by the browser
number Indicates the tabbing order for the element. 1 means first
inherit Specifies that the value of the nav-index property should be inherited from the parent element