Web Content
How to Write Image Alt Text That Fits the Article — and When to Leave It Empty
I write alt text by asking what a reader loses if the image vanishes. Here is the test I run on diagrams, screenshots, and decorative images before I publish.

I used to write alt text the way I fill in forms at the end of a long day: quickly, vaguely, and mostly so the field would stop being empty. “Team meeting photo.” “Chart going up.” Then I started testing pages with the images switched off — a screen reader run here, a broken-image check there — and those little descriptions fell apart. They described what a picture looked like to me, not what it was doing for the reader.
Alt text is a replacement, not a caption and not a keyword slot. When I write it now, I start from the article around it: what the image proves, shows, or makes easier there. The same diagram can honestly need three different alternatives in three different articles, and a decorative flourish needs none at all. Here is the routine I have settled on after rewriting hundreds of these — including, recently, most of the ones on this site.
What job is this image doing on the page?
I give every image one of three jobs before I write a word: inform, act, or decorate. An informative image carries something the reader needs — the steps in a diagram, the shape of a result, the state shown in a screenshot. A functional image does something: it is the link, the button, the way out. A decorative image sets a mood and carries no information at all.
That one decision does most of the work. If I cannot say which job an image is doing, the problem is usually the image, not the alt text — it is sitting in the article because the layout looked empty, and no alternative will rescue it.
What would a reader miss if the image never loaded?
My favourite test is rude but effective: I cover the image with my hand — or, on a test page, I disable images entirely — and read the article straight through. Whatever I trip over is what the alt text has to carry. If nothing trips, the image was decoration wearing an informative costume.
On a drafting-workflow diagram I tested recently, what a reader would miss was not “four green boxes” but the order: drafting first, structural editing second, sentence editing third, preview last. The alt text I kept was basically that sentence. It is not elegant. It works, which is the point.
When should you describe appearance, and when should you describe meaning?
Appearance matters when appearance is the information. A screenshot’s alt text should say it is a screenshot and name the state it shows — “Settings panel with the autosave toggle switched on” — because the medium tells the reader this is evidence, not artwork.
Everywhere else, I describe meaning and skip the inventory. Colours only earn a mention when colour carries the distinction, as when the falling line is the red one. I also drop “image of” unless the format matters; readers using assistive technology already know an image is there. Starting with the content keeps the sentence short enough to actually listen to.
Does the important detail also live in the article itself?
Alt text is a bad place to hide the only copy of an idea. When a chart matters, I put its takeaway in the body text as well — the alt text points at it, the paragraph carries it. That habit comes straight from how I check sources and claims in a draft: anything a reader must rely on should exist somewhere sturdier than an attribute.
Captions help here, but they do a different job. A caption is visible to everyone and can carry context, credit, or a dry aside. Alt text replaces the image for someone who cannot see it. Writing both from the same sentence is how articles end up saying everything twice and helping no one.
When is empty alt text the honest answer?
When the image adds nothing, the alternative should add nothing: an empty alt attribute, set deliberately, not a missing one. A missing attribute invites some tools to guess — often by reading the file name aloud, which helps absolutely nobody.
I use empty alt text for textures, dividers, and the second copy of an image whose twin already carries a description. My test: if a screen reader skipped this image entirely, would the reader lose a fact, a step, or a joke that matters? If not, silence is the accurate description.
What did I learn from testing one diagram three ways?
For the diagram at the top of this article, I drafted three alternatives. First try: “Illustration about alt text.” Useless — it describes the page, not the picture. Second: a full inventory of every box and arrow. Accurate, exhausting, and it repeated the caption word for word.
The version I kept names the relationship the picture exists to show: the article, the caption, and the alternative each explaining part of the image’s purpose. Shorter than the inventory, longer than the shrug. Most good alt text I write lands in that middle place, and getting there usually takes those same two failed drafts. Budget for them.
How do you check the alt text after you save?
Saving is where alt text goes to die — editors strip it, themes ignore it, and a well-meaning media library overwrites it. So my last pass happens on the live page, not in the draft:
- Open the published article and inspect the image: is the alternative I wrote actually in the markup?
- Read the page with images off and check the article still makes sense in order.
- Compare alt text, caption, and the paragraph beside the image: do they repeat each other?
- Check that no two images on the page share the same alternative by copy-and-paste accident.
If a check fails, I fix the markup, not just the media library — the library is where the text came from, but the page is where the reader meets it.
What do people still ask me about alt text?
Should alt text include keywords?
Only when the keyword is the accurate description. If the phrase a reader would search for is also the phrase that describes the image’s job, use it and move on. If I am twisting a sentence to fit a term in, I can feel it — and that twist is the sign to stop. Stuffed alt text reads badly aloud, which is the only review that matters here.
Is a caption the same as alt text?
No, and treating them as interchangeable causes most of the duplication I find. The caption is printed on the page for every reader; the alternative stands in for the image when it cannot be seen. I write the caption first, then ask what is still missing without the picture — that leftover is the alt text.
Where should you go next?
- A Practical Writing Pass for More Accessible Web Content
- A Pre-Publication Checklist for a Useful, Trustworthy Article
Was this guide helpful?
Tell us what needs improving →
Your selection stays on this page. To send feedback to the publication, use our contact form.
Published 28 September 2026 · Text Craft Pro · AI-assisted educational writing. Editorial policy · Suggest a correction