image-redundant-alt

Image alt text must not duplicate adjacent visible text

manualconfidence: mediumseverity: minorperceivable

Checks that an <img> alt text is not identical to other visible text already present in its immediate parent element.

Applies to. Applies to <img> elements with non-empty alt text whose immediate parent element also has other visible text content (i.e. text nodes besides the image itself, commonly an <a> or <button> wrapping both an icon image and a text label).

Expectation. The image's alt text is not the same (case-insensitive, normalized) as the other visible text already in the same parent. When both are present, assistive technology announces the same words twice for a single control (e.g. an icon-plus-text link where the icon's alt duplicates the link text).

Examples

can't tell
<a href="/"><img alt="Home" src="home.png">Home</a>

The image's `alt` text ("Home") duplicates the adjacent visible link text word for word — a screen reader announces it twice.

n/a
<a href="/"><img alt="Home icon" src="home.png">Home</a>

The `alt` text ("Home icon") differs from the adjacent text ("Home").

View source