SIA-R28<input type="image"> elements have an accessible name

Accessibility requirements

This rule tests conformance of the following accessibility requirements:


This rule checks that image buttons have an accessible name.


This rule applies to every <input> element in the HTML namespace with a type attribute in the Image Button state where the element is included in the accessibility tree.

The specification of the type attribute describes in detail how to map the value of the attribute to its corresponding state.


  1. The element has an accessible name that is not empty.


This rule makes the following assumption:

Accessibility support

This rule has the following accessibility support concern:



This image button has an accessible name that is not empty and therefore passes the rule:

<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 Copyright © 2024 W3C® (MIT, ERCIM, Keio, Beihang).