Skip to main content
Perceivly: Perceivly home

Alt text

Also called: Alternative text, Text alternative, alt attribute

A short text alternative for an image, usually in the alt attribute, that conveys the same information or purpose as the image.

Definition

WCAG 1.1.1 Non-text Content, Level A, requires that all non-text content presented to the user has a text alternative that serves the equivalent purpose, with a few exceptions such as decoration. For an HTML image, that alternative usually goes in the alt attribute: <img src="chart.png" alt="Sales rose 20% in 2026">.

"Equivalent purpose" is the key: the text should do the job the image does on that page, not describe every pixel.

Why it matters

Screen readers read the alt text in place of the image; without it, many read the file name. It is also shown when images fail to load, and used by search engines. WebAIM's 2026 Million report found images with missing alternative text on 53.1% of the top one million home pages. An image that is the only content of a link or button needs alt text that says where the link goes or what the button does.

How to test or meet it

  • Informative image: write what it shows that matters here, usually in one short sentence.
  • Image of text: repeat the text.
  • Linked image or icon button: describe the destination or action.
  • Complex image such as a chart: short alt text plus a longer description nearby.
  • Decorative image: use an empty alt="".

Automated tools find images with no alt at all and some suspicious values such as file names. Only a person can judge whether alt text is accurate and useful. Our alt text checker lists every image's alt text so you can review it, and our guide to alt text has examples.

WCAG criteria

Tools and guides

Sources

  1. Understanding 1.1.1 Non-text Content (W3C)
  2. WCAG 2.2 glossary: text alternative (W3C)
  3. HTML Living Standard: requirements for providing text to act as an alternative for images (WHATWG)
  4. W3C WAI Images Tutorial
  5. The WebAIM Million, 2026 report

By the Perceivly team · Published . This explains a term; it is not legal advice.

Check a page for free

The free accessibility checker tests one page against WCAG 2.2 A and AA in about 10 seconds and lists what still needs a manual review. No sign-up.

All glossary terms