Skip to content

ariaActiveDescendantTabIndex

Reports elements with aria-activedescendant without tabIndex.

✅ This rule is included in the jsx logical preset.

aria-activedescendant is used to manage focus within a composite widget. Elements with this attribute should be tabbable, either through an inherent tabIndex (like <input>) or an explicit tabIndex attribute.

Without proper tabIndex, keyboard users cannot reach the element to interact with it.

<div aria-activedescendant={someID} />
<span aria-activedescendant="item-1" />

If you’re not using aria-activedescendant or have a custom focus management system, you can disable this rule.

Made with ❤️‍🔥 in Boston by Josh Goldberg and contributors.