What belongs in image alt text and what belongs in a caption?

HaivisUpdated

Decide what the image contributes on this page. Alternative text conveys the necessary information without seeing the image. A caption can explain provenance, project stage or the detail to compare.

AI furnishing proposal for a reading corner, with a green chair, side table and floor lamp between a window and doorway
A reading-corner photo used to explain circulation serves a different purpose from the same picture used as decoration.

Choose by purpose

Describe the relevant information in an informative picture. An image that alone names a link needs to convey its purpose. A decorative image or one already fully described by nearby text may use empty alt. A missing attribute and an explicitly empty one are different HTML states. W3C alt decision tree

Try it on the room example

In an article about circulation, write that the green armchair sits between the window and doorway, with the right entrance visible. The caption can identify the picture as an AI furnishing proposal based on an empty-room illustration. For a linked thumbnail, consider the accessible name of the whole link, including any adjacent linked title.

Review images individually

Keep purpose, alternative text and caption in separate handoff fields. The lead, material close-up and before-and-after pair answer different questions. After publication check link names and reading order using keyboard or screen-reader navigation.

Practical guides

Continue exploring