The alt Attribute Is Too Short

Compliance Data & User Impact

User Impact: Critical

100% Complete

Disabilities Affected:

  • blindness
  • deafblindness

WCAG Version:

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:

Check1st Severity:

DRRSAG Designations:

  • description

How to Fix The Problem

When using the img element, specify a short text alternative with the alt attribute or use an empty alt in case of a decorative image. The alternative text (alt text) must convey the same meaning as the image.

The Algorithm, In Simple Terms

The engine scans for alt attributes with less than 3 characters.

Why Is It Important?

Users who use assistive tools, such as screen readers, will fail to properly understand the content of the image.

Code Example

Code Example

<img src="example.png" alt="This is an example image"/>

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