Accessibility guide

Alt text examples

25 alt text examples by kind of picture, from product photos to logos and charts: a weak version, a better one, and why.

New to alt text? Start with Write good alt text, or let the Alt text writer draft it.

In short: the same picture can need different alt text on different pages. On a shop page, a mug photo needs the color and size. On an About page, it might be "Ana's first mug, made in 2019". Write what this page needs the reader to know from it.

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.

Three questions for any picture

  1. Does it add anything? If not, give it empty alt text so screen readers skip it.
  2. Is it a link or a button? Then say what it does or where it goes.
  3. Does it hold words or numbers? Then the alt text, or the page next to it, gives the same words and numbers.

Otherwise, describe what matters about it on this page, usually in one sentence. These follow the W3C's alt decision tree.

Photos

PictureWeakBetterWhy
Product photoIMG_2041.jpgHand-thrown blue mug with a speckled glaze, 12 ozA file name tells a shopper nothing. Say what they'd check before buying: color, material, size.
Product, second viewshoeThe same trail shoe from the back, showing the reflective heel stripExtra photos exist to show something new. Say what this one adds.
One personstaff photoMaria Lopez, our head baker, holding a tray of sourdough loavesName the person when the page doesn't already, and say what they're doing if it matters.
Group photoimage of peopleOur five volunteers behind the food bank counterSkip "image of": screen readers already say it's a picture. Say who and where.
Eventevent photoA crowd on the town green at the summer fair, with the brass band playing under the tentGive the feeling and the facts a sighted visitor gets at a glance.
BuildinglibraryThe library's side entrance on Elm Street, with the ramp to the left of the stepsOn a "Visit us" page, what matters is finding the way in, not the architecture.
FoodfoodBowl of chicken noodle soup with crusty bread, our Tuesday specialA menu photo sells the dish. Name it and what comes with it.
Before and afterbefore / afterBefore: the park bench with peeling green paint. After: the same bench sanded and painted dark blueTwo pictures tell one story, so say what changed. The W3C calls this a group of images.

Pictures with words or information

PictureWeakBetterWhy
Poster or flyerposterHarvest supper, Friday, October 23, 7 p.m., town hall, $15If a picture is mostly words, the alt text is those words. Better still, put them in the page too.
Photo with a signstore frontOur shop window, with a sign saying "Closed Mondays"Words in a photo can be the point. Include them when they matter on this page.
MapmapMap: the parking lot is behind the library, off Oak StreetSay what the map is there to show. Write full directions in the page for anyone who needs them.
ChartchartBar chart of library visits by month in 2025: highest in July, 4,100; lowest in February, 1,800Give the main point and the key numbers. Put the full figures in a table below the chart.
InfographicinfographicHow to recycle: rinse, sort, and put the bin out by 7 a.m. Thursday. Full steps are below the picture.Too long for alt text. Sum it up, then write every step in the page.
Screenshot in a how-toscreenshotThe Settings page, with the Save button in the bottom right cornerSay what the reader needs from it to follow the step, not every button on screen.
Screenshot of a postscreenshotPost from the sheriff's office: Route 9 is closed until 6 p.m. because of a crashThe message is the point. Write who posted it and what it says.
QR codeQR codeQR code for the sign-up formSay where it goes, and print the web address as text beside it for people who can't scan.

Pictures that do something

PictureWeakBetterWhy
Logo that links homelogoRiverside Bakery home pageA picture inside a link says where the link goes. The W3C calls these functional images.
Logo, not a linklogo.pngRiverside BakeryThe name is enough. Logos are the one place words in a picture are fine.
Search buttonmagnifying glassSearchName the action, not the drawing. Nobody wants to "magnifying glass".
Social media iconfacebook-iconRiverside Bakery on FacebookSay where it takes people, so the link makes sense on its own.
Print iconprinterPrint this pageSame rule: what happens when you press it.

Pictures to skip

PictureWeakBetterWhy
Decorative swirl or dividerdecorative linealt="" (empty, so it's skipped)It adds nothing for someone who can't see it. Empty alt text tells screen readers to skip it.
Icon beside its own wordsphone iconalt="" (empty, so it's skipped)If the words "Call 555-0142" sit right beside it, describing the icon only says it twice.
Banner photo that's just moodlaptop on a deskalt="" (empty, so it's skipped)A general stock-style photo that says nothing about you can be skipped. If it shows your place or people, describe it.

Social media style

PictureWeakBetterWhy
Meme or joke picturefunny catCat staring at a laptop, captioned "Me checking the inbox on Monday"Include the caption's words and enough of the picture for the joke to land.

Common mistakes

  • Starting with "image of" or "picture of": the screen reader has already said so.
  • File names like "IMG_4032.JPG" or "banner-final-2.png", often filled in by the builder.
  • A string of search words ("bakery, best bakery, cakes, Vermont"): it doesn't help anyone, and Google's own advice warns against it.
  • Too long: a sentence is usually enough. Some builders also cut it off: Shopify at 512 characters, Squarespace product images at 200.
  • The same words as the caption right below: people hear it twice.

Add it on your builder, and practice

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

PageKiwi Tips

Plain-English website tips by email, coming soon. Unsubscribe in one click.

  • The two dates that take a website offline, and how to never miss them
  • A three-minute accessibility check anyone can do
  • How to spot a fake "your domain is expiring" email

We email you a link to confirm first. Never sold or shared. What we keep · Past tips

Know someone this would help? Share it

Quick question

Did this guide help with your problem?