input-image-alt-quality

<input type="image"> alt text must be appropriate (manual review)

manualWCAG 1.1.1 (A)confidence: mediumseverity: minorperceivable

Flags <input type="image"> elements with non-empty alt text for human review of appropriateness.

Applies to. Applies to <input type="image"> elements whose alt attribute is present and non-empty: an image button whose alt is its label. The element must be included in the accessibility tree, and role="presentation"/"none" takes it out of scope unless it is focusable, which restores its role.

Expectation. Human review is required to confirm that the provided text alternative is accurate and appropriate.

Examples

can't tell
<input type="image" src="submit.png" alt="Submit order">

Non-empty alt is present on this image button — worth confirming "Submit order" matches what the button actually does.

n/a
<input type="image" src="submit.png" alt="" title="Submit order">

Empty alt on a functional control is `input-image-alt-decorative`'s question, not this rule's.

View source