SIA-R12Buttons have an accessible name
This rule tests conformance of the following accessibility requirements:
This rule applies to every element in the HTML namespace with a semantic role of
button where the element is included in the accessibility tree, except if the element is an
<input> element with a
type attribute in the
Image Button state.
This rule makes no assumptions.
This rule has no known accessibility support concerns.
<span role="button" aria-label="My button"></span>
This element has no accessible name and therefore fails the rule:
<button role="link">take me somewhere</button>
This document includes material copied from or derived from https://act-rules.github.io/rules/97a4e1/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).