tabindex

« SVG Attribute reference home

The tabindex SVG attribute allows you to control whether an element is focusable and to define the relative order of the element for the purposes of sequential focus navigation.

Usage context

Categories None
Value valid integer
Animatable No
Initial value (None)
integer
Relative order of the element for the purposes of sequential focus navigation.

Example

<?xml version="1.0"?>
<svg width="300" height="300"
     viewBox="0 0 300 300" version="1.1"
     xmlns="http://www.w3.org/2000/svg">

    <circle cx="60" cy="60" r="15" tabindex="1" />
    <circle cx="60" cy="150" r="30" tabindex="3" />
    <circle cx="150" cy="60" r="30" tabindex="2" />
    <circle cx="150" cy="150" r="60" tabindex="4" />
</svg>

Result

Elements

All SVG elements can use this attribute.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'tabindex' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support 51IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 51Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: ExE-Boss, Yaffle, ReliefCrew, Sebastianz
Last updated by: ExE-Boss,