Image suspected of redundant alt attribute

Compliance Data & User Impact

User Impact: Critical

100% Complete

Disabilities Affected:

  • blindness
  • deafblindness
  • learning disabilities

WCAG Version:

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:

Check1st Severity:

DRRSAG Designations:

  • description

How to Fix the Problem

The <img> element that is located inside an <a> (i.e. link) element should use an alternative text (alt attribute) which supplements the link text and describes the image. Otherwise it should use a null value. Example: <a href="home.html"> <img src="house.gif" alt="home page icon"> Go to the home page </a>.

The Algorithm, in Simple Terms

Engine scans the page for any <a> element that contains an <img> element, and compares the “alt” attribute with the <a> inner text.

Why Is it Important?

This helps users understand the purpose of each link so they can decide whether they want to select the link.

Code Example

<a href="linknew.html">
<img src="/example_"skip.gif" alt="example_">
New link

Additional Information

Relevant Technologies: HTML4, HTML5, and XHTML documents that contain links.

This element perfoms as a container, and has no functionality. This container may contain another elements that has functionality or logical role.

Ignore this issue if this element has an alternative that performs the same and overrides the content of this element.

Address: 401 9th St NW, 6th Floor
Washington, DC 20004
Phone number: (888) 995-WCAG
International number: 1(888) 995-9224