Alt text prompt
An alt text prompt asks the AI to sort each image as decorative, functional or informative, then write the right text for each. Decorative images get empty alt text, and the rest describe what they do or show.
The prompt
For each image on this page, write alt text.
First decide: is it decorative, functional or informative?
Decorative: alt="" and say why.
Functional (inside a link or button): describe what it does.
Informative: describe what it shows that the text doesn't,
in one short sentence. Never start with "Image of".
Return a table: file name, type, alt text.When to use it
Before launch, and every time you add images. Run it on product images in a store.
Why it works
WebAIM's 2026 scan of the top million home pages found missing alt text on 53.1% of them.1 Sorting first is what makes the result good. A logo inside a link needs the link's destination, and a decorative swirl needs nothing.
How to adapt it
- Paste the surrounding paragraph, so the tool knows what the text already says.
- Ask for product details in store images: colour, material, angle.
Mistakes to avoid
- Stuffing keywords into alt text. Screen reader users hear every word.
- Accepting alt text you haven't checked against the actual image.
Go deeper
Web accessibility covers the rest of the basics. The accessibility audit prompt catches the images you missed. This prompt is part of the write stage. It follows the AI website design prompts guide and the six steps in how to use AI to design a website.