Ecommerce Academy · Chapter 03

Product images and alt text

2 min read · · CiteCue Team

Show products in real <img> tags, give each informative photo alt text that says what that photo shows, and keep every fact a shopper needs in text, never only inside a picture. Google says it uses alt text together with computer vision and the page's content to understand an image. For any system that reads text, the alt text and the words around a photo are much of what it has to go on.

What Google asks for

Google's image SEO best practices are short and specific:

  • Use HTML image elements. Google finds images in the src of <img> tags and doesn't index CSS background images.
  • Place images near relevant text, on pages about the same subject.
  • Use short, descriptive filenames: wanderer-40l-backpack-moss-side.jpg, not IMG00023.JPG.
  • Write useful alt text in context, without keyword stuffing.

Google's guide to generative AI features adds that those features can bring in relevant images and video, and that following its image best practices already optimizes for them.

Writing alt text for product photos

Say what this photo shows that the others don't. For an invented backpack:

Photo Alt text
Front, studio Ridgeline Wanderer 40L hiking backpack in moss green, front view
On a trail Hiker wearing the Wanderer 40L with the hip belt fastened
Close-up Taped inner seams of the Wanderer's main compartment
Decorative divider between page sections Empty: alt=""

The W3C's alt decision tree explains the last row: an image that is purely decorative, or that repeats text already next to it, takes an empty alt="" so screen readers skip it. Don't paste the product title into every photo's alt text. Five identical descriptions tell nobody which photo is which.

Never put the only copy of a fact in a picture

Size charts, spec sheets, "what's in the box" graphics and banners announcing a price drop are often saved as images. Microsoft's guidance on content for AI search answers advises against putting key information only in images, because extracting text from them adds complexity and often reduces accuracy. Keep the graphic if it helps people, and state the same facts in HTML text on the page.

This week

Pick one product page and check three things: every product photo is an <img> with its own alt text, the filenames describe the product, and no fact appears only inside an image. Then confirm that AI crawlers are allowed to fetch the page at all, because alt text on a page they can't fetch reaches no one.

Sources

See where AI cites you, and where it doesn’t