Recent chats
ASKGEEZ Q&A GUIDEWriting & communication

How do I keep a caption and alt text from repeating each other?

Quick answer

Give the two pieces different jobs, guided by what the image adds to its page. Alt text should convey the image’s essential information or function in context—not necessarily list every visible detail. A caption can add useful context, attribution, or interpretation. Compare both with nearby text, keep facts consistent, and remove needless duplication. If a web image is purely decorative, it needs no alternative text.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

I’m writing a page with an image, a caption, and alt text. What should each one do so they don’t just repeat the same sentence?

Geez

Start by asking why the image appears on this page and what a reader needs from it. Alt text should convey the image’s essential information or function in context; that may be its meaning, rather than a literal inventory of everything visible. What counts as informative depends partly on what the surrounding page already communicates. [S1]

Let the caption add something useful, such as context, attribution, or interpretation. These are editorial options, not a universal formula: web accessibility guidance does not prescribe one fixed rule for caption writing. [S1]

A simple check: read the nearby text, caption, and alt text together. Does each contribute something useful? If two lines convey the same fact in the same way, consider revising one. Some overlap may still be useful for clarity; the aim is not different wording at any cost.

Follow-up question

Can you show how that works with an example? I’m preparing a hypothetical page about a community garden.

Geez

Suppose the page explains that volunteers planted a garden in a formerly unused lot, and the photo shows several people planting seedlings. These sample details are hypothetical; use only facts you can verify about your own image and page.

Possible caption: “Volunteers plant seedlings in the [neighborhood] garden during its opening day.”

Possible alt text: “Volunteers kneel along a garden bed, placing seedlings into the soil.”

Here the caption adds event and location context, while the alt text conveys relevant visual information. If nearby text already explains that the photo shows volunteers planting seedlings, ask whether repeating those details in the alt text adds anything. The best alternative depends on what information the image contributes in context. [S1] [S2]

Now suppose the image is a link to the garden’s event schedule. Its function may matter more than a detailed visual description. Write an alternative that communicates the link’s purpose, and use the caption for any separate context. Only name a destination if the link actually goes there.

Follow-up question

What if I can’t think of anything different to put in the caption, or the image seems decorative?

Geez

Ask whether both pieces are needed. If a caption adds no useful context, you need not write one just to paraphrase the alt text. And W3C says purely decorative web images need no alternative text. [S2]

Don’t decide an image is decorative just because it looks attractive. If it identifies a person, illustrates a point, communicates information, or performs a function such as linking, consider what a reader would miss without it. Review the image alongside the page text and judge what it contributes there. The guidance supports making that decision in context; it does not prescribe one wording for every page. [S1]

Keep claims consistent, too. If the caption calls the event an opening day but you cannot confirm that, verify or remove the detail. Don’t make the alt text compensate for an uncertain caption.

Follow-up question

Can I use a quick worksheet when I’m drafting several image pairs?

Geez

Yes. Fill this in for each image, then compare the drafts with the surrounding page text.

Caption-and-description division-of-labor worksheet

  • Image and page purpose: What is shown, and why is it here?
  • Nearby text: What relevant information is already communicated?
  • Image’s essential information or function: What does a reader need from it in this context?
  • Alt text draft: Communicate that information or function without unnecessary detail.
  • Caption’s separate contribution: What useful context, attribution, interpretation, or other information can it add?
  • Overlap: What is repeated, and does keeping it help clarity?

For example, if nearby text already states the date and location, a caption might credit the photographer while the alt text conveys the image’s relevant content. If the image is purely decorative, note that rather than forcing a description. W3C’s advice concerns web images and context; it does not require captions and alt text always to use different words. [S1] [S2]

A practical checklist

  • Write down why the image appears on the page.

  • Note what nearby text already communicates.

  • Draft alt text for the image’s essential information or function in context.

  • Give the caption a distinct, useful contribution where appropriate.

  • Compare the drafts, remove needless repetition, and check that facts agree.

  • Decide whether the web image is informative, functional, or purely decorative.

A few more useful answers

Is it always wrong for the caption and alt text to share words?

No. The goal is useful information, not different wording for its own sake. Some overlap may help clarity, but avoid duplicating the entire message when each piece can contribute something useful.

Should alt text describe everything visible in the image?

Not necessarily. Write for the image’s meaning or function in the page context; a complete visual inventory may not convey what matters. [S1]

Does a decorative web image need alt text?

W3C says purely decorative web images need no alternative text. Decide whether the image adds information or performs a function in context. [S2]

Sources

References used for this guide.

  1. [S1] W3C WAI Images Tutorial: Informative Images
    w3.org · Checked
  2. [S2] W3C WAI: Writing for Web Accessibility – Tips for Getting Started
    w3.org · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work