Skip to content

This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.

Image Alternatives

Goal

A user is provided an understandable description of the information or functionality contained within an image. If there is no information conveyed by the image, the user's assistive technology should be able to ignore the image.

Normative text

Guideline

Users have equivalent alternatives for images.

Foundational Requirements

  1. Would removing the image impact how people understand the page?

    1. No, decorative image is programmatically hidden. Stop.
    2. Yes, continue.
  2. Is the image presented in a way that is available to user agents and assistive technology?

    1. Yes, image must meet Image is programmatically determinable AND the accessibility support set incorporates Equivalent text alternative is available for image that conveys content. Stop.
    2. No, continue.
  3. Is an equivalent text alternative available for the image?

    1. Yes, image must meet Equivalent text alternative is available for image that conves content. Stop.
    2. No, fail.

Supplemental Requirements

Assertions

What to do

The general way to determine whether an image is conveyed appropriately is to:

  1. Remove, hide, or mask the image.
  2. Replace it with the text alternative.
  3. Check that the meaning is substantively equivalent
    1. the purpose of the non-text content is met by the text alternative.
    2. The way the content is presented is using the most appropriate, accessibility-supported (math, code samples, etc.)
  4. If the non-text content contains words that are important to understanding the content, the words are included in the text alternative.
  5. If the non-text content duplicates adjacent text, the alternative may be null.

Definitions