AI-generated photograph: high-contrast keyboard, headphones and form wireframe
Resource factsheet

W3C WAI · Images accessibles

Reference tutorial for distinguishing informative, decorative, functional and complex images and choosing their text alternatives.

Resource identity and purpose checked against the source on . This check does not verify all service conditions or individual data records.

Use this resource for a specific task.

Web development · International

Open the original resource

When it helps

Decide the useful alternative for a medium according to its role in the page.

How to start

Classify an image by its page function: information, action or decoration. Write an alternative consistent with that role and test the journey without the image.

Limits to keep in mind

A detailed visual description may miss useful information. The same image may need different alternatives on different pages.

Understand what this resource provides

Linked image
If an image is the only content of a link, its alternative should convey the destination or action.
Complex information
For a chart, make the data or reasoning available in page text; a short ALT cannot carry every value.
Decoration
An image conveying no useful information may use alt="". Assess its page context rather than automatically using the filename.

W3C WAI · An alt Decision Tree · Details checked on

Check before using

Three points to record with the decision.

  1. 01

    Image role in context.

  2. 02

    Information or action conveyed by the alternative.

  3. Two people comparing versions of a text — AI-generated photograph
    03

    No unnecessary repetition of adjacent text.

A method and complementary resources.

Organise user acceptance testing

Acceptance testing checks whether a service supports expected tasks under defined conditions.

Read the practical method →

Source and verification

W3C WAI · Images accessibles: primary source. Link checked . The checklist is editorial guidance; link availability does not guarantee completeness or suitability.

Read the editorial method · Report a correction with its source