Black Lives Matter! ✊🏾

tabindex

The tabindex content attribute allows authors to indicate that an element is supposed to be focusable, whether it is supposed to be reachable using sequential focus navigation and, optionally, to suggest where in the sequential focus navigation order the element appears. 5.4.3. The tabindex attribute

Links about tabindex

  1. Using the tabindex attribute

    posted on by Léonie Watson

    The HTML tabindex attribute is used to manage keyboard focus. Used wisely, it can effectively handle focus within web widgets. Used unwisely however, the tabindex attribute can destroy the usability o

  2. Tabindex: it rarely pays to be positive | scottohara.me

    posted on by Scott O'Hara

    HTML’s tabindex attribute may be used to modify whether an element can receive keyboard focus, or not. It’s an attribute that can be quite beneficial in crea...

  3. Controlling focus with tabindex -- A11ycasts #04

    posted on by Rob Dodson

    Whenever possible you want to use native HTML elements for your custom controls. The button tag, for instance, is very easy to style, and has built-in keyboa...

  4. Flexbox & the keyboard navigation disconnect – Tink

    posted on by Léonie Watson

  5. Using tabindex | Web Fundamentals | Google Developers

    by Meggin Kearney

    Modifying the DOM order with tabindex

  6. tabindex

    posted on by MDN

    Das Globale Attribut tabindex gibt an, ob sein Element fokussiert werden kann, ob und an welcher Stelle es an der sequentiellen Tastaturnavigation beteiligt ist (normalerweise mit der Tabulatortaste, daher der Name).

Code sample

<div id="#content" tabindex="-1">
</div>