Guide

How to write good alt text

Alt text (alternative text) is a short description of a picture that screen readers read aloud.

Or let the Alt text writer draft it for you. Picture Check finds the pictures that need it.

In short: alt text is a short description stored with a picture. Screen readers read it aloud to people who can't see the picture, and browsers show it if the picture won't load. Describe what matters about the picture on that page, as if telling someone on the phone.

1. Better and worse

PictureWeakGood
A product photohoodieNavy hoodie with the Wrenfield crest on the chest
Your teamimage of peopleOur four staff outside the store on Main Street
A mapmapMap showing the parking lot behind the church, two minutes' walk from the store
A poster with wordsposterHarvest supper, Friday, October 23, 7 p.m., town hall, $15

2. Five rules

  1. Say what matters on this page: on a store page, the color and the product; on an About page, who's in it.
  2. Don't start with "image of" or "picture of". Screen readers already say it's a picture.
  3. If the picture has words that matter (a poster, a menu), include them.
  4. Keep it short, usually a sentence. Longer detail belongs in the page's text.
  5. Purely decorative pictures (a pattern, a divider) get empty alt text, so screen readers skip them.

Try the rules on eight real pictures: Write the alt text, a practice game.

3. Where to add it

  • WordPress

    Click the picture, and in the panel on the right, fill in Alternative text. Full WordPress steps.

  • Wix

    Click the picture, then the settings gear, and fill in What's in the image? Full Wix steps.

  • Squarespace

    Click the image block, then the pencil, and fill in Image alt text. Full Squarespace steps.

  • Shopify

    Open the product, click the photo and choose Add alt text. Full Shopify steps.

The short version

Say what the picture shows and why it's on this page, in about a sentence. Skip image of, include any words in the picture, and give purely decorative pictures empty alt text.

Check the official rules. Rules and dates change, so check them with the official sources before you rely on them: ADA.gov (the US Department of Justice), the W3C's WCAG pages and Section508.gov. PageKiwi helps you find problems and get closer to meeting the rules. It can't promise a website meets them, it isn't legal advice, and we can't take responsibility for decisions made from it.

Alt text is part of making your website accessible. Website accessibility: where to start, with the tools that help and what the law asks.

Know someone this would help? Share it

Quick question

Did this guide help with your problem?