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.

Read the prompts guideAll 24 prompts

Sources

  1. "The WebAIM Million: The 2026 report on the accessibility of the top 1,000,000 home pages," WebAIM, 30 March 2026. webaim.org

Related prompts

Accessibility audit prompt

An accessibility audit prompt asks the AI to check a page against WCAG 2.2 AA and list each failure with its element and fix, then apply only those fixes. It's a fast first pass before a real checker.

Get the prompt

Microcopy prompt

A microcopy prompt rewrites the small words on a page: buttons, labels, hints and error messages. Buttons say what happens next, and errors say what went wrong and how to fix it.

Get the prompt

Schema markup prompt

A schema markup prompt asks the AI to write JSON-LD structured data for a page, using only facts visible on that page. It returns one linked graph and a list showing where each property comes from, so you can check it.

Get the prompt

Fact list prompt

A fact list prompt gives the AI a numbered list of true facts and forbids anything else. Each claim in the copy carries its fact number, and gaps get marked instead of filled with invented numbers or testimonials.

Get the prompt

Want this done for you?

Want your site checked for accessibility? Book a call and I'll show you the fixes that matter.

Book a 20-minute call