Techniques for WCAG 2.0

Skip to Content (Press Enter)

-

F38: Failure of Success Criterion 1.1.1 due to omitting the alt-attribute for non-text content used for decorative purposes only in HTML

Applicability

HTML and XHTML

This failure relates to:

Description

This describes a failure condition for text alternatives for images that should be ignored by AT. If there is no alt attribute at all assistive technologies are not able to ignore the non-text content. The alt attribute must be provided and have a null value (i.e., alt="" ) to avoid a failure of this Success Criterion.

Examples

Resources

No resources available for this technique.

(none currently listed)

Tests

Procedure

  1. Identify any img and applet elements that are used for purely decorative content;

  2. Check that the alt attribute for these elements exists.

  3. Check that the alt attribute for these elements is null.

Expected Results

Techniques are Informative

Techniques are informative—that means they are not required. The basis for determining conformance to WCAG 2.0 is the success criteria from the WCAG 2.0 standard—not the techniques. For important information about techniques, please see the Understanding Techniques for WCAG Success Criteria section of Understanding WCAG 2.0.