Production

Your image alt text needs the context, not the caption

You're probably writing the same text twice

If your image alt text and caption say the same thing, one of them is wrong. Alt text exists for screen readers and broken images—it answers "what is this picture?" Your caption sits below the image in the layout and adds context, attribution, or editorial comment for sighted readers.

When they duplicate each other, you're either making screen reader users listen to the same sentence twice, or you're not using the caption space for anything useful.

Alt text describes, captions contextualize

Alt text should be a neutral, factual description of what's in the frame. If the image is a photo of a red barn with peeling paint in front of a field, say that. You're replacing the visual information for someone who can't see it.

The caption is where you add the editorial layer: "The Kowalski barn, photographed three weeks before demolition" or "Weather damage from the 2019 storms." That context matters to everyone reading the page, but it doesn't belong in the alt attribute.

If you're writing "Photo of a red barn" in both fields, you've wasted the caption. If you're writing the demolition story into the alt text, you've made it harder for assistive tech users to skim past images they don't need.

Some images need one, not both

Decorative images—background textures, ornamental dividers, design flourishes—get empty alt attributes (alt="") so screen readers skip them entirely. They definitely don't need captions.

Informational images like charts, diagrams, or screenshots need detailed alt text that conveys the data or interface state. They might also need a caption for attribution or a link to the source, but the caption doesn't repeat the description.

Photographs usually need both, but with clear separation: alt describes the visible content, caption provides the story or credit.

Stop putting photographer credits in alt text

This one shows up everywhere. Alt text like "Red barn (photo by Jane Smith)" makes the credit inaccessible to sighted users and clutters the description for screen readers. Put the credit in the caption, or in a structured credit field if your CMS has one.

The same goes for dates, locations, and licensing information. All of that is metadata about the image, not a description of what's in it. It belongs in the caption or a dedicated field, where everyone can see it and where you can mark it up semantically.

Write alt text first, then decide if you need a caption

When you're adding an image, write the alt text as a straightforward description. Then ask: is there additional context a reader would want? A story behind the shot? A credit or link? If yes, that's your caption. If the alt text says everything worth saying, skip the caption entirely.

Your CMS should make this easy. If your image upload flow combines alt and caption into one field, you're set up to duplicate text by default. Split them. Label them clearly. Make alt required and caption optional.

The pattern is simple: alt for description, caption for context. Once you stop mixing them, both get better.

← All posts