Alt text for product images: examples and rules

Good alt text for product images names the product and the visible details that set it apart, such as color, pattern, material and shape, in one short phrase. Each variant needs its own alt text, extra gallery views say what they show, mood shots are often decorative, and keyword stuffing never belongs in it.

Published . Last reviewed .

A sighted shopper glances at a product photo and knows in a second whether it is the navy one or the black one. A shopper using a screen reader gets exactly what the alt text says, and nothing else. On a product page, that makes alt text part of the buying decision. This guide covers what to write for every kind of image a store uses, with examples. The examples are illustrative; the products in them are invented. For the general rules, see our complete guide to alt text and the alt text examples by image type.

Why product image alt text gets attention

Alt text is required by WCAG 1.1.1 Non-text Content, the first success criterion in the standard most accessibility laws point to. Two laws matter most to online stores. In the US, federal ADA Title III website accessibility lawsuits rose from 2,452 in 2024 to 3,117 in 2025 (adatitleiii.com); courts disagree on whether an online-only store is covered. In the EU, e-commerce is a named sector under the European Accessibility Act, which has applied since June 28, 2025, though microenterprises (fewer than 10 employees and an annual turnover or balance sheet total not exceeding EUR 2 million) are exempt from its service obligations. Missing or untrue alt text on product photos is easy for anyone to see. This is general information, not legal advice; our guides to ADA website compliance and the EAA cover the law, and the which laws apply tool narrows it down for your business.

The formula: product, then what sets it apart

Start with what the product is, then add the visible details a shopper would use to choose between it and its neighbors. Stop when the image is distinguishable.

  • Product type: "Backpack", "Phone case", "Ankle boot".
  • Key visible attributes: color, pattern, material when you can see it, shape, and the feature that makes this item this item ("with a zip front pocket", "with a magnetic charging ring").
  • The view, when it is not the main one: "back view", "close-up of the clasp", "worn with a white shirt".
  • Any text printed on the product, when it matters to the buyer: a slogan on a T-shirt, a size on a label.

Build-up for one photo:

  • Too little: alt="Boot"
  • Enough: alt="Tan suede ankle boot with a side zip and a block heel"
  • Too much: alt="Tan suede ankle boot with a side zip and a block heel photographed at a three-quarter angle on a white studio background with soft shadow"

What to leave out

  • The price, the SKU and the sale banner text that are already on the page as real text.
  • Claims the photo cannot show. "Waterproof", "organic cotton" or "fits true to size" belong in the product description, not the image's alt text. Name a material only when it is visible and true, such as "suede" on a suede boot.
  • "Image of" or "photo of". Screen readers already announce the image.
  • Studio details: lighting, background, camera angle, unless the angle is the point of that gallery image.
  • Keyword stuffing. More on that below.

Product image alt text examples

Weak and better alt text for common product page images (illustrative examples)
Image Weak alt text Better alt text Why
Main product photoalt="DSC_0193.JPG"alt="Olive canvas backpack with brown leather straps and a zip front pocket"Product type plus the details that distinguish it.
Second gallery image, back viewalt="Olive canvas backpack with brown leather straps and a zip front pocket" (copied from the main image)alt="Back view: padded straps and a luggage sleeve"Each gallery view says what it adds.
Detail close-upalt="detail"alt="Close-up of the brass buckle and stitched leather strap"Name the detail the shot exists to show.
Worn on a modelalt="model"alt="Backpack worn on one shoulder, reaching from shoulder blade to lower back"Fit and scale are the information here.
Lifestyle mood shotalt="best hiking backpack outdoor adventure gear"alt=""Pure atmosphere is decorative; stuffed keywords are never right.
Lifestyle shot that shows usealt=""alt="Laptop and water bottle packed side by side in the main compartment"Shows capacity, so it carries information.
Color swatch buttonalt="swatch_03.png"alt="Sage green"Functional: the option it selects.
Size chart as an imagealt="size chart"alt="Size chart, also as a table below" plus a real HTML tableComplex image: the data must exist as text.
Printed T-shirtalt="T-shirt"alt="White cotton T-shirt printed with the words Good Coffee Club in red"Text on the product is part of what you sell.
Bundle photoalt="bundle"alt="Starter kit: black phone case, clear screen protector and a magnetic ring holder"List what is in the box.

Variants: every colorway needs its own alt text

The most damaging product alt text error is also the most believable: alt text that is true of a different variant. It happens when a listing is duplicated to create a new color, or when a photo set is attached to the wrong option. The result reads perfectly, "Navy wool peacoat, double-breasted", on a photo of the camel one. Rule-based checks pass it, because nothing about the text is malformed.

  • Write alt text for each variant's images separately, and name the variant's color or pattern in it.
  • When one photo genuinely serves several variants (a size-only difference, for example), keep the alt text to what the photo shows.
  • After a bulk import or a listing duplication, check the new variant's images against their alt text before publishing.

We measured how well a vision model catches this. In our test of AI alt text accuracy, alt text copied from the wrong colorway was the largest group of planted errors (23 of 62), and our production check flagged every one of them in all three runs. Look-alike patterns were harder: "Brown leopard print phone case" on a tortoiseshell case got through in one run of three.

Galleries, thumbnails and zoom

A product gallery is a group of related images, and the W3C groups of images tutorial says each image in such a collection needs its own text alternative. In practice:

  • Main image: the full description from the formula above.
  • Other views: say what that view adds ("Side view", "Inside pocket", "Sole tread"), not the full description again.
  • Thumbnails that switch the main image are controls. Their accessible name should say what they show, so a listener knows what pressing one will display.
  • Zoom and lightbox views show the same picture larger. The enlarged image still needs alt text, and the button that opens it needs a name such as "Zoom image" or "Open larger image".
<img src="backpack-olive-front.jpg" id="main-image"
     alt="Olive canvas backpack with brown leather straps and a zip front pocket">

<button type="button" aria-label="Zoom image">
  <img src="zoom-icon.svg" alt="">
</button>

<ul>
  <li><button type="button">
    <img src="backpack-olive-back-thumb.jpg" alt="Back view">
  </button></li>
  <li><button type="button">
    <img src="backpack-olive-buckle-thumb.jpg" alt="Buckle close-up">
  </button></li>
</ul>

Many themes and gallery apps generate this markup for you. If yours gives every thumbnail the same alt text, or none, that is worth raising with the theme or app developer.

Lifestyle and decorative images

Ask whether the image tells the shopper something they cannot learn elsewhere on the page. A photo of the backpack on a hiker at sunrise, beside text that already describes the bag, is atmosphere: give it alt="", which the W3C decorative images tutorial recommends for images that "add ambiance or visual interest". A photo showing the bag's size against a person, or what fits inside it, carries information: describe that information.

Never leave the alt attribute off entirely. The W3C notes that some screen readers then announce the file name instead.

Keyword stuffing hurts twice

It is tempting to treat product alt text as an SEO field. Google's image SEO guidance asks for "useful, information-rich content that uses keywords appropriately and is in context of the content of the page" and warns that keyword stuffing "results in a negative user experience and may cause your site to be seen as spam." A screen reader user has to listen to every word of it before reaching the next thing on the page.

  • Stuffed: alt="backpack hiking backpack travel backpack laptop backpack best backpack men women"
  • Useful to both a listener and a search engine: alt="Olive canvas backpack with brown leather straps and a padded laptop sleeve"

On Shopify and other platforms

On Shopify, alt text is set per image: open the product, click the image in the media gallery and add or edit its alt text. For a large catalog, export products to CSV, edit the alt text columns and re-import. Shopify's product image editor can also suggest an alt text description. A suggestion is a starting point; it is generated once and does not know which variant the photo will end up attached to. Our Shopify accessibility guide walks through each step.

The same rules apply on every platform. See our guides for WordPress, Wix, Squarespace and Webflow for where each one keeps the alt text field.

Using AI to draft product alt text

An AI generator is a fast way to get a first pass on hundreds of images. Our free alt text generator has an "E-commerce" style for product images. Treat every result as a draft:

  • Check colors and patterns first. They are what tells a shopper which variant this is, and they are where vision models slip on look-alikes.
  • Confirm the variant. A generator sees the image and any context you type, not which listing the photo ends up attached to.
  • Cut what does not help choose. Backgrounds, lighting and camera angle can go.
  • Decide decorative versus informative yourself. Only you know what the rest of the page already says.

Checking product alt text at scale

Reading alt text in a spreadsheet tells you it exists. It cannot tell you it describes the right photo. Our alt text checker downloads the first six described images on a product page and compares each with its alt text, free and without signup. The deep audit runs the same check, opening up to six images per page, and paid plans repeat it on the pages you nominate so a new import that breaks something gets flagged. The free scan finds missing and filename alt text among its 16 rule-based checks, and our methodology lists exactly what each check can and cannot see. No tool, ours included, can confirm a store meets WCAG; alt text is one criterion of many in the WCAG 2.2 checklist.

Product image alt text questions

Should product alt text include the product name?

Include what the product is, which often overlaps with its name. A branded name on its own ("The Voyager") tells a listener little; "Olive canvas backpack" tells them what they are looking at. If the image sits inside a link that already contains the product name, an empty alt avoids hearing it twice.

Should I include the brand or price in alt text?

Usually not. Both are already on the page as text. Include a brand only when it is visible on the product and matters to the buyer, such as a logo print that is the point of the design.

Do all gallery images need alt text?

Every image needs an alt attribute. Images that show something new (another angle, a detail, the item in use) need a short description of what they add. Pure mood images can use an empty alt. Repeating the main description on every gallery image adds noise without information.

Can I use the same alt text for every color variant?

No. Each variant's photos show a different product to the shopper, so the alt text must name the color or pattern actually shown. Alt text copied across variants is a common source of descriptions that are perfectly worded and untrue.

Does product image alt text help SEO?

Google says it uses alt text, together with computer vision and the page's content, to understand images, and asks for useful, information-rich alt text. Describing the product accurately serves both search engines and shoppers; keyword stuffing serves neither.

How do I check thousands of product images?

Start with the free scan to find missing and filename alt text, then verify that existing alt text is true on your highest-traffic templates and newest imports. The alt text checker opens the first six described images on a page; paid plans repeat the check on the pages you nominate.

Does your product alt text describe the right photo?

Paste a product page address. The checker downloads the first six described images and tells you which alt texts are true, vague or wrong. No signup.

Check if my alt text is actually right

Find the product images missing alt text

The free scan finds missing and placeholder alt text across up to 3 pages of your store, alongside the other rule-based WCAG checks. No signup.

Scan my site for free