What is considered a tabbable element?
masterBy default, tabbable considers the following elements as tabbable:
<button>elements<input>elements<select>elements<textarea>elements<a ext>elements with anhrefattribute<area>elements with anhrefattribute (inside a<map>referenced by a rendered image)<audio>and<video>elements withcontrolsattributes- The first
<summary>element directly under a<details>element <details>elements without a<summary>element- Elements with the
[contenteditable]attribute - Anything with a non-negative
tabindexattribute
Elements are NOT considered tabbable if:
- They have a negative
tabindexattribute - They have a
disabledattribute - They (or an ancestor) are hidden via
display: none(unless modified viadisplayCheckoption) - They have
visibility: hiddenorvisibility: collapsestyle - They are nested under a closed
<details>element (except the first<summary>) - They are an
<input type="radio">and a different radio in its group ischecked - They are a form field inside a disabled
<fieldset> - They are inert or in an inert container