Skip to content
Technical SEO 8 min read By Lewis Jones Editorial policy

WooCommerce Image Alt Text: Add It and Check It

Where WooCommerce image alt text lives, what the product gallery prints when no alt text is saved, and what 725 product photos on 73 UK stores had.

Part of Technical SEO Guide: Crawl, Index, Speed

In short

  • WooCommerce keeps image alt text on the image itself, in the Alternative Text field of the media library, so a photo used on two products carries the same text on both
  • Since WooCommerce 9.5, an empty field is filled in on the page with the product name for the main photo and the product name plus "Image 2", "Image 3" for gallery photos
  • On 73 UK WooCommerce stores, 599 of 725 product photos had no alt text saved, and 501 of those went out with the product name instead
  • 52 of the 73 stores had not written alt text for any product photo we read
  • A check for missing alt text finds almost nothing on these stores, because every photo has an alt attribute; you have to read what it says

WooCommerce image alt text is the short description each product photo carries in the page's HTML. Screen readers read it out, Google uses it to understand the photo for image search, and it shows when the picture fails to load. WooCommerce keeps it in one place, the Alternative Text field on the image in the media library, and since version 9.5 it fills in the product name when that field is empty.

That fill-in hides the gap. We read 725 product photos on 269 product pages across 73 UK WooCommerce stores on 21 November 2026, and compared the alt text each store had saved with what its product pages published. This post shows where to add the text, what WooCommerce prints when you do not, and how to find the photos that still need it. For the rest of a store audit, see the WooCommerce SEO audit.

Where WooCommerce image alt text lives

Every product photo takes its alt text from one field in the media library

Four places you open it from. Each one leads to the same Alternative Text field on the image itself.

Product image

The main photo, set in the Product image box on the product's edit screen.

Products › Edit › Product image

Product gallery

The extra photos under the main one, added in the Product gallery box.

Products › Edit › Product gallery

Variation images

A photo per colour or size, set inside each variation.

Product data › Variations

Media library

Every uploaded file, where you can fill the field for many images one after another.

Media › Library

The text belongs to the image, not the product. A photo used on two products shows the same alt text on both.

The text belongs to the image, so fixing a photo once fixes it on every product that uses it.
  • Main product photo. Edit the product, click the image in the Product image box, and fill in Alternative Text in the media window. Click Update on the product.
  • Gallery photos. In the Product gallery box, click a photo to open the same window and fill in its Alternative Text.
  • Variation photos. Under Product data > Variations, open a variation and click its image. A variation photo is an image like any other, with its own Alternative Text field.
  • Many images at once. Media > Library in list view lets you open each file and work down the list without opening products one by one.

There is no separate alt field on the product. WooCommerce reads the image's own field every time the photo is shown, which is why the same photo on two products cannot have two different descriptions.

What WooCommerce prints when the field is empty

Before version 9.5, an empty Alternative Text field became an empty alt="" on the page, which marks a picture as decorative, so screen readers skipped it. WooCommerce 9.5, released in December 2024, changed the product gallery. When a photo has no alt text saved, the gallery now writes the product name for the main photo and the product name plus a number for the others: "Image 2", "Image 3" and so on. Nothing is saved to the image; the text is generated each time the page is built. The code is wc_get_gallery_image_html() in WooCommerce's template functions.

What the product gallery prints when the alt field is empty

An example product with three photos and nothing typed in Alternative Text, on WooCommerce's own gallery template.

Before WooCommerce 9.5

  • alt=""
  • alt=""
  • alt=""

Empty alt marks a picture as decorative, so screen readers skip all three.

WooCommerce 9.5 and later

  • alt="Oak dining chair"
  • alt="Oak dining chair - Image 2"
  • alt="Oak dining chair - Image 3"

The product name, then a number for each gallery photo. Nothing is saved; it is written into the page.

From 9.5, every product photo gets an alt attribute, whether anyone wrote one or not.

The fill-in only applies where the theme uses WooCommerce's own gallery. A theme or page builder that draws its own product gallery decides for itself, and on the stores we read some still printed an empty alt.

What 725 product photos on 73 UK stores had

We found the stores through OpenStreetMap: shops in Bristol, Manchester, Leeds and Edinburgh that list a website, kept only where WooCommerce's public Store API answered. That gave 86 stores, and 73 had product pages we could read. For each one we opened up to four products with the most photos and matched every photo on the page to the alt text saved in the store.

501 of the 599 photos with nothing saved went out with the product name as their description.

Only 126 of the 725 photos, 17%, had alt text saved, and 118 of those were published exactly as written. Of the 599 with nothing saved, WooCommerce filled 501 with the product name, 286 of them as "Product name - Image 2" and so on. 49 went out with an empty alt, on custom galleries and on one store still running WooCommerce 7.4. Another 49, almost all on one store, carried the image's file title, such as a camera number, which a theme printed instead.

The filled-in alt was the normal state of a product photo, on 56 of the 73 stores.

By store, 52 of 73 had not saved alt text for a single product photo we read. Nine had it on every one. Of the 34 stores whose pages name their WooCommerce version, 33 ran 9.5 or later, so the fill-in is what most shoppers using a screen reader now hear.

Why the product name is not enough

The fill-in is better than silence on the main photo: a screen reader now says what the product is. The gallery is where it falls short. "Oak dining chair - Image 3" tells a shopper there is a third photo and nothing about it, and a gallery of six photos reads the product name six times. Google gets the same: a page full of images described only by the title it already has.

The filled-in alt names the product; a written one says what this photo shows

The same example gallery. A shopper using a screen reader hears what WooCommerce fills in, or the written alt text if someone wrote it.

PhotoWooCommerce fills inWritten alt text
MainOak dining chairOak dining chair with a slatted back, natural oil finish
Gallery 2Oak dining chair - Image 2Side view showing the angled back legs
Gallery 3Oak dining chair - Image 3Close-up of the seat joint and grain
Gallery 4Oak dining chair - Image 4The same chair in black stained oak
Write what each photo adds: the angle, the detail or the colour a shopper would otherwise have to guess.

Write alt text the way you would describe the photo to a customer on the phone:

  1. Main photo: the product and what it looks like, in a short sentence. The product name belongs here, once.
  2. Gallery photos: what this view shows that the others do not, without repeating the name.
  3. Variation photos: the colour or finish the variation adds.
  4. Lifestyle and decorative images: describe a photo that shows the product in use; leave a purely decorative image empty, since an empty alt is the correct way to mark decoration.

Nineteen of the saved alts in our sample were the product name typed in by hand, which reads the same as the fill-in. If you are going to write it, write the description.

How to find the gaps on a WooCommerce store

  1. Check one product page with the free image alt text checker. It lists every image with its alt text, so "Image 2", "Image 3" stand out at a glance.
  2. Start with the products that earn impressions. In Search Console, sort pages by impressions and work down the product URLs, since those photos are the ones shoppers and Google see.
  3. Crawl the whole shop. Crawl Cove reads the alt text on every image of every page it crawls, product pages included, and its ecommerce crawl adds the catalogue checks a store needs.

In Crawl Cove, an image with no alt attribute is a medium finding, listed per page with the files. Alt text that says nothing, such as a file name, a camera number or a single word like "image", is a separate low finding, which can catch the file-title alts some themes print. The product-name fill-in passes both checks, because it is real text in a real attribute, so on a WooCommerce store the image list is where you read it by eye. Crawl Cove recognises WooCommerce from the pages it crawls and words each fix for the WordPress admin. The same guide exists for Shopify, Wix, Squarespace and Webflow, and the image alt text audit covers the rules on any site.

How we checked

On 21 November 2026 we took every shop in OpenStreetMap with a website tag in Bristol, Manchester, Leeds and Edinburgh (2,317 sites), asked each for WooCommerce's public product list at /wp-json/wc/store/v1/products, and kept the 86 that answered with products. The Store API returns each image's saved alt text. For each store we opened up to four product pages, the ones with the most photos, one request every 1.5 seconds with an honest crawler user agent, and matched each photo in the product gallery to its saved alt by file name. 73 stores had readable product pages: 269 pages and 725 photos, each counted once per page. The WooCommerce version comes from the generator tag, which 34 stores show. The fill-in was confirmed in WooCommerce's source: present in 9.5.0, absent in 9.4.0. Stores are not named.

Frequently asked questions

How do I add alt text to a WooCommerce product image?
Edit the product, click the image in the Product image or Product gallery box, and fill in the Alternative Text field in the media window that opens. Update the product. You can also open the image from Media > Library and fill in the same field there.
Where does WooCommerce store image alt text?
On the image, not the product. It is saved with the file in the media library, so every product that uses that photo shows the same alt text.
What does WooCommerce show if no alt text is saved?
Since version 9.5, released in December 2024, WooCommerce's product gallery writes the product name as the alt text of the main photo and the product name followed by "Image 2", "Image 3" and so on for the gallery photos. Before 9.5 it printed an empty alt. Themes and page builders that build their own gallery can still print an empty alt.
Is the product name good enough as alt text?
For the main photo it is a start. For gallery photos it says nothing about what each one shows, and a shopper using a screen reader hears the product name again for every photo. Describe what is different in each picture: the angle, the colour, the detail.
Should WooCommerce alt text include keywords?
Use the words a shopper would use for the product, because they usually are the keyword. Describe the photo first. A list of search terms in alt text reads badly out loud and does nothing extra for rankings.

Audit your site the easy way

Crawl Cove finds these issues on your machine. Try the Image SEO Checker and the Accessibility Basics Checker or see every feature.

Download free