Styleguide - The A11Y Project

3.4.3 #Base.Global Attributes.tabindex tabindex="-1"

Toggle example guides Toggle HTML markup

Used for any element that should programatically recieve keyboard focus.

Example

An element that can be tabbed to

Markup
<h2 tabindex="-1">An element that can be tabbed to</h2>
Source: src/css/base/_global-attributes.scss, line 38