Image Inside Link Missing Alternative Text

Compliance Data & User Impact

User Impact: Major

60% Complete

Disabilities Affected:

  • all

WCAG Version:

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:

Check1st Severity:

DRRSAG Designations:

  • description

How to Fix Yhe Problem

Add an alt attribute with text describing the purpose of the link.

The Algorithm, In Simple Terms

The engine scans the page for <img> elements that are children an <a> element that contains no text, and checks their alt attributes.

Why Is It Important?

Assistive technologies, such as screen readers, rely on alternative text (alt text) to relay important information to the user. An link with no text content and only an image with no description does not provide sufficent information to the assistive technology user.

Code Example

<a href="#example">
    <img src="image.png" alt="Example"/>

Additional Information

More associated techniques related to broken links are: G1: Adding a link at the top of each page that directly goes to the main content area (, G126: Providing a list of links to all other web pages (

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