How do I write alt text for an image that contains important words?
Quick answer
When an image contains important words, include the same readable words in its text alternative rather than replacing them with a vague description. W3C advises that the text alternative for an image of text contain the same words as the image. [S1] If wording is unreadable or unavailable, don’t invent it: describe only what you can verify and flag the gap for checking.
The question, the details, the next step.
A practical checklist
Identify the image or notice briefly, if that helps orient the reader.
Copy each important readable phrase accurately and check it against the image.
Put separate phrases in a sensible order and label their roles only when useful.
Do not infer obscured, cropped, or unavailable words from context.
Mark unresolved wording for verification before treating the draft as final.
A few more useful answers
Should I summarize the wording instead of reproducing it?
For an image of text, W3C advises that the text alternative contain the same words as the image. [S1] A short label can add context, but it should not replace the readable wording.
What if I only have a description of the image, not the image or its text?
Use only wording that has actually been supplied and can be verified. The cited guidance does not establish what missing or unreadable text says, so leave a clear gap for checking rather than guessing. [S1]
Do I need to use labels such as “Heading” or “Date”?
No. They are optional drafting aids for showing how separate phrases relate. Keep a label only if it makes the wording easier to understand, and don’t add details that the image does not establish.
Sources
References used for this guide.
- [S1] Images Tutorial: Text Alternatives for Images Containing Text w3.org · Checked
