Open a photo
Photographic visual for Alt Text Vs Caption Vs Description
GuideAlt Text Vs Caption Vs Description

Guide

Alt text, caption and long description: three jobs

Alt text, a caption and a long description all describe the same picture, and that is where the resemblance ends. They are read by different people, at different moments, for different reasons, and writing one as if it were another is the most common mistake on the page.

Who reads which

The alt attribute is read instead of the picture. Someone using a screen reader reaches the image and hears the alt text where a sighted reader would glance at the photograph. It is short because it is a substitute, not an addition: one sentence that does the job the picture was doing in that spot.

The caption is read by everyone, in addition to the picture. It is visible text under or beside the image, so a sighted reader sees both and a screen reader user hears both. Its job is what the picture cannot do on its own — the name of the place, the date, who took it, why it is here.

The long description is read by someone who has chosen to read it. It is for the picture whose content is too structured for one sentence: a chart, a diagram, a map. The alt says what the thing is; the long description gives the reading, in the order a listener needs.

One photograph, three texts

The alt text

“A fisherman pulling a net into a wooden boat at dawn.” What is in the frame, what is happening, where — in that order, and then stop. No “image of”, because the screen reader has already said it is an image.

The caption

“Kovalam, February 2026: the sardine catch has halved in five years, fishermen say.” Nothing in the caption repeats the alt. It adds place, date and the reason the photograph is in the article.

The long description

Not needed for this photograph. If the article also printed a chart of the catch by year, that chart would get a short alt (“Line chart of the sardine catch in Kerala, 2021–2026”) and a long description beside it: what the chart shows overall, then the values in order.

How this site keeps them apart

The studio has a tab for each, and the checker runs a different set of rules on each: the alt ruleset is about length and what a listener hears first; the caption ruleset is about finishing the sentence and not repeating the alt; the long-description ruleset is about opening with a summary and keeping sentences short enough to follow by ear. When the alt and the caption are the same sentence, the checker says so.

Questions people ask

Can the caption and the alt text be the same?

They should not be. A screen reader announces the alt text in place of the picture and then reads the caption as ordinary page text, so the same sentence is heard twice in a row. If the caption already says everything the picture shows, the alt can be empty; otherwise the alt says what is seen and the caption says what is not.

Is a caption required for accessibility?

No. WCAG 1.1.1 is met by the text alternative — the alt attribute, or a long description for a complex image. A caption is editorial: it helps every reader, sighted or not, and is held to the same standard as the paragraph above it.

When does a picture need a long description?

When what it carries is a structure rather than a scene: a chart with values, a diagram with steps, a map with routes, an infographic. One attribute cannot hold that. The alt names what the thing is (“Bar chart of monthly rainfall in Chennai, 2025”) and the long description, on the page or linked from it, gives the reading.

Where does a long description go in the HTML?

Anywhere a reader can reach it: in the text beside the figure, in a <details> element under it, or on a linked page. Linking it to the image with aria-describedby lets a screen reader offer it with the picture. The old longdesc attribute is obsolete.

Where to take this next

The other written pages