<input type="image"> elements have an accessible name
This rule tests conformance of the following accessibility requirements:
This rule checks that image buttons have an accessible name.
This rule makes the following assumption:
This rule has the following accessibility support concern:
- There exists a known combination of a popular browser and an assistive technology that does not by default support use of the HTML
titleattribute as an accessible name.
<input type="image" name="submit" src="button.gif" alt="Submit" />
This image button has no accessible name and therefore fails the rule:
<input type="image" name="submit" src="button.gif" />
This image button is not included in the accessibility tree and is therefore inapplicable:
<input type="image" name="submit" src="button.gif" aria-hidden="true" />
This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/image-button-accessible-name-59796f/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).