All promptsOn page

Alt text examples: ten images, ten finished alt attributes

Ten finished alt attributes for one page, plus the prompt that writes yours. Decorative images come back empty, functional ones describe the action.

Works in
Claude
You need
What the page is · A line per image: what it shows and where it sits
Written for
alt text examples
100A

Scored by our own engine

This page, run through the audit we sell. Measured 20 August 2026.

Score your own page →

Ten images from one page, each with the attribute already written and the reason it took that shape. The value depends on the job the image does, not on how it looks, so the prompt assigns a kind first and writes second. Decorative images end up empty on purpose.

The worked example

Run with the page “a product page for a stand mixer on a kitchen equipment shop” and these ten images:

  1. The mixer front on, plain background
  2. Close up of the speed dial
  3. The shop logo in the header, links to the homepage
  4. A small green tick before the words “free delivery over £50”
  5. The mixer on a kitchen worktop with somebody kneading dough
  6. A chart of bowl capacity across the three models in the range
  7. A patterned strip between two sections
  8. The magnifying glass inside the search button
  9. A screenshot of a five star review with the reviewer’s name
  10. A cutaway diagram of the planetary mixing action
# Kind Attribute Chars
1 INFORMATIVE alt="Cream stand mixer with the bowl locked in and the flat beater fitted" 66
2 INFORMATIVE alt="Speed dial numbered 1 to 10, with a fold setting below 1" 54
3 FUNCTIONAL alt="Kitchen Supply Co home" 22
4 DECORATIVE alt="" 0
5 INFORMATIVE alt="The mixer on a worktop kneading dough with the hook, hands resting beside it" 74
6 TEXT alt="Bowl capacity: Mini 3.3 litres, Classic 4.8 litres, Pro 6.9 litres" 64
7 DECORATIVE alt="" 0
8 FUNCTIONAL alt="Search" 6
9 TEXT alt="Five stars. It has not moved off the counter since it arrived. Priya R, verified buyer" 84
10 INFORMATIVE alt="Cutaway of the beater spinning one way while the arm carries it the other" 71

REASSIGNED

  • 3, from decorative to functional. You described it as the header logo. It links to the homepage, so it is the only content of a link and has to describe the destination rather than the brand.
  • 4, from informative to decorative. The green tick sits immediately before the words “free delivery over £50”. The sentence already carries it, so describing the tick announces the same fact twice.

NEEDS A CAPTION

  • 10. The planetary action is the reason this mixer costs what it does and 71 characters is a summary of it. Suggested caption: “The beater spins on its own axis while the arm carries it around the bowl, so it reaches the whole bowl without being scraped down.”

The two rows that were not what they looked like

Everything interesting in that output is in the REASSIGNED list, and both entries are the same mistake pointing in opposite directions.

The logo was described. A logo in a header is almost always inside an anchor, which makes it the label for a link rather than a picture of a brand. alt="Kitchen Supply Co logo" is the version most sites ship, and it announces the word “logo” to somebody who is trying to work out where the link goes.

The tick was described too. An icon sitting next to text that already says the thing is the clearest decorative case there is, and it is the one bulk alt-text passes get wrong most often, because a script that fills every empty attribute cannot tell that the sentence beside it is doing the work.

Both are cheap to fix and neither shows up in a count of how many images have attributes, which is why a page can pass an image check and still read badly.

Checking what you pasted

Run the finished page through the image alt checker. It reports which images carry the attribute and how coverage looks across the page, which is the half of this you cannot eyeball once a page has thirty images on it.

The rules behind the four kinds, including where the empty-versus-missing distinction comes from in the HTML specification, are in the long version. This page is the artefact; that one is the reasoning.

The prompt 381 words
You are writing the alt attribute for every image on one web page. Output the
table first, with no preamble.

For each image I list, output one row of a markdown table with four columns:
the number I gave it, the kind you assigned, the finished attribute written
out in full as alt="...", and the character count of the value.

Assign every image exactly one kind before you write the value, because the
correct value differs by kind:

- INFORMATIVE. It carries something the surrounding text does not. Describe
  the information, not the picture.
- DECORATIVE. A reader who never saw it would lose nothing. The value is an
  empty string. Never describe it.
- FUNCTIONAL. It is a link or a button. Describe what happens when it is
  activated, not what the glyph looks like.
- TEXT. The image is text: a logo, a quote card, a screenshot of a table.
  The value is that text.

Rules for every value:

1. 125 characters or fewer. If the information will not fit, that image needs
   a caption and the attribute is the short version.
2. Never open with "image of", "photo of", "picture of", "graphic of",
   "illustration of". It is already announced as an image.
3. Never include a filename or a file extension.
4. If a caption sits directly under the image, do not repeat it. It gets read
   out twice.
5. If the image is the entire content of a link, FUNCTIONAL wins over every
   other kind. Describe the destination.
6. No keyword stuffing. If a word would not appear in the sentence a person
   would say out loud while pointing at the image, it does not go in.
7. If I have not told you enough to describe an image truthfully, write
   alt="[NEEDS DETAIL: what you would need to know]". Never invent what is in
   a picture you have not seen.

Then, under the table, two short lists.

REASSIGNED
Any image where the kind you assigned is not the kind my description implied,
and one line on why. This is the list I actually read.

NEEDS A CAPTION
Any image whose information does not fit in 125 characters, with the one
sentence that should sit near it on the page.

What the page is: [PAGE]
The images: [IMAGES]

What to change

Everything in square brackets is yours to replace. Nothing else needs editing.

[PAGE]
One line on what the page is and who reads it. It decides what counts as information: on a product page the colour of the thing in the photo is information, and on a blog post about the same product it usually is not.
[IMAGES]
One numbered line per image: what it shows, and where it sits. "Header, links to the homepage" and "next to the free delivery line" change the answer more than the description of the picture does, so include the position even when it feels obvious.

How to run it

  1. 01
    List the images off the page, not out of the media library

    Walk the rendered page top to bottom and write a line per image in the order they appear. Working from the media library instead is how decorative separators and icon sprites end up with sentences describing them, which is the most common form of over-described alt text there is.

  2. 02
    Run it and read the REASSIGNED list first

    The table is the deliverable and the REASSIGNED list is where the thinking is. It names every image whose job is not the job your own description implied, which is almost always a logo that turned out to be a link, or an icon that turned out to be decorative because the sentence beside it already says the word.

  3. 03
    Fill every [NEEDS DETAIL] yourself

    A marker means the model was not given enough to describe that image honestly. Open the image and write the line. This is the one part of the job that cannot be delegated, because everything else on the page can be checked against the page and the contents of a photograph cannot.

  4. 04
    Paste the values, then check the page rather than the list

    Copy each value into its attribute and run the finished page through a checker. What you are confirming is not the wording, which you just wrote, but that every image ended up with an attribute at all, including the ones whose correct value is empty.

Questions people ask

What is a good example of alt text?

One that would let somebody who cannot see the image follow the page without it. For a product photo, alt="Cream stand mixer with the bowl locked in and the flat beater fitted" works because it names what is actually shown. alt="stand mixer kitchen mixer baking appliance" does not, because nobody would say it out loud, and alt="image of a mixer" wastes its first three words.

Should decorative images have alt text?

They should have the attribute with nothing in it. An empty value is an instruction to skip the image; a missing attribute is an absence, and assistive technology falls back to announcing the filename. This is the distinction that produces most of the wrong answers, and it is why "add alt text to every image" is bad advice taken literally.

How long should alt text be?

Under about 125 characters, and shorter whenever the image allows it. The limit is not a rule anybody enforces, it is the point at which a listener loses the thread of a sentence they cannot re-read at a glance. If what the image carries genuinely needs more, the page needs a caption or a description near it and the attribute is the short version.

What alt text should a logo have?

The organisation name, and if it links somewhere, the destination. A header logo that goes home is a functional image, so alt="Example Co home" describes what activating it does. Writing alt="Example Co logo" describes the picture instead of the link, which is the version most sites ship.

Does alt text help SEO?

It is how an image gets understood in image search and how its content becomes part of what the page is about, so yes, modestly and legitimately. It is not a place to put keywords. The version written for a person who cannot see the image is also the version that reads correctly to a machine, which is unusual among on page fields and worth taking advantage of.

Can I get AI to write alt text for images it cannot see?

Not truthfully, and that is the failure this prompt is built around. Given only a filename or a vague line it will produce a fluent, confident and wrong description. Rule 7 makes it write [NEEDS DETAIL] instead, which converts the invented sentence into a short list of images you have to look at yourself.

A new prompt, most days One working prompt for a real SEO or AI visibility job, what to change in it, and a worked example. No sequences, no offers dressed as newsletters.

Unsubscribe in one click. We never pass your address on.

Run your first audit
in about a minute

Free account, no card. Paste your URL and get a real, scored report of your AI and search visibility.

Measuring rankings in