aria-hidden="true" are not focusable
This rule tests conformance of the following accessibility requirements:
This rule applies to every element with an
aria-hidden attribute with a value of
The element is not focusable.
This rule makes no assumptions.
This rule has no known accessibility support concerns.
This element has been excluded from the accessibility tree but is not focusable and therefore passes the rule:
<div aria-hidden="true"> <p>This is some text</p> </div>
<button aria-hidden="true" tabindex="-1">This is a button</button>
This element has been excluded from the accessibility tree but is still focusable and therefore fails the rule:
<button aria-hidden="true">This is a button</button>
This element has not been excluded from the accessibility tree and is therefore inapplicable:
<button>This is a button</button>
This document includes material copied from or derived from https://act-rules.github.io/rules/6cfa84/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).