IMSCRIB

WooCommerce Variation Image Alt Text: How to Describe Product Variants Correctly

Learn how to write alt text for WooCommerce variation images, including colors, styles, materials, and variation galleries.

Sep 2026 · 11 min read

Free scan
Finds alt text + product description issues
No plugin or setup needed

Variable products create an alt-text problem that simple product images do not.

A WooCommerce product might be one product in the catalogue but have several versions:

  • black, green, and beige;
  • cotton and linen;
  • small, medium, and large;
  • matte and polished;
  • short sleeve and long sleeve.

Each variation can also have its own product image.

And in current WooCommerce versions, a variation can have its own gallery of images as well.

So if the shopper selects a different color or style and the product image changes, the alt text should still describe the image that is actually being shown.

Giving every variation the same generic alt text defeats much of the point of having different images in the first place.

What is a WooCommerce variation image?

WooCommerce variable products let you create multiple purchasable variations of one product.

A variation can represent a combination of attributes such as:

  • color;
  • size;
  • material;
  • style;
  • finish.

WooCommerce lets each variation have its own image.

When a shopper selects that variation, the product image can change to show the selected version.

For example, a T-shirt product might have:

  • black;
  • white;
  • green.

The shopper selects green, and the product image switches to the green version.

That image is not just another photograph of the same object.

It communicates information about the specific variation the shopper selected.

Its alternative text should normally reflect that.

Should variation images have different alt text?

When the images show meaningful differences, yes.

Suppose a product has three color variations.

Weak implementation:

Women's linen shirt

Women's linen shirt

Women's linen shirt

All three descriptions are technically related to the product.

But someone relying on the alternative text cannot tell which variation is being displayed.

Better:

Black women's linen shirt

White women's linen shirt

Sage green women's linen shirt

The useful difference between the images is the color, so the alt text includes it.

This does not mean every WooCommerce variation automatically needs a completely different sentence.

The description should change when the image itself communicates something different.

Include attributes that are visible in the image

A useful rule for variation alt text is:

Include the variation attribute when it is visually represented by the image.

Color is the obvious example.

If the product image shows a red bag rather than a black bag, color is useful descriptive information.

The same can apply to:

  • pattern;
  • finish;
  • material when visually distinguishable;
  • sleeve style;
  • shape;
  • configuration;
  • design.

For example:

Matte black kitchen faucet

Brushed brass kitchen faucet

Chrome kitchen faucet

Or:

Blue floral cotton dress

Black striped cotton dress

The attribute is useful because it helps explain the visual difference between variations.

Do not include invisible variation attributes just because they exist in WooCommerce

Not every product attribute is visible.

A T-shirt may have separate variations for:

  • Small;
  • Medium;
  • Large.

But if the product photography is visually identical for all three sizes, writing:

Medium black T-shirt

may not add useful image information.

The size is important product information, but the image may not actually communicate it.

Alt text should describe the image rather than copy every selected WooCommerce attribute.

The same applies to attributes such as:

  • storage capacity;
  • subscription duration;
  • bundle quantity;
  • internal SKU;
  • technical configuration that cannot be seen;
  • other non-visual options.

If the difference is not visible, it usually belongs in the product interface or description rather than being forced into the image alt text.

Color variation alt text examples

Color is probably the most common reason WooCommerce stores use separate variation images.

Consider a sofa available in three finishes.

Weak:

VariationAlt text
BeigeModern sofa
GreenModern sofa
BlueModern sofa

Better:

VariationAlt text
BeigeBeige three-seat modern sofa
GreenDark green three-seat modern sofa
BlueNavy blue three-seat modern sofa

Or a shoe:

VariationAlt text
WhiteWhite leather low-top sneaker
BlackBlack leather low-top sneaker
BurgundyBurgundy leather low-top sneaker

There is no need to manufacture a completely different sentence for each version.

The product stays the same.

The relevant visual attribute changes.

What if one variation has several images?

Current WooCommerce versions support multiple images for individual product variations.

That means one variation can itself have a gallery.

For example, the green version of a backpack might have:

  • front view;
  • rear view;
  • interior;
  • detail shot;
  • lifestyle image.

At that point you have two levels of information:

  1. which variation is being shown;
  2. what this particular gallery image shows.

A useful set of descriptions could be:

Forest green hiking backpack

Rear view of forest green hiking backpack

Interior compartments of forest green hiking backpack

Close-up of forest green backpack shoulder straps

Forest green hiking backpack worn on a trail

The variation attribute remains where it helps identify the product being shown.

The rest of the description distinguishes one image from another.

For broader guidance on galleries, see WooCommerce product gallery alt text.

Do not copy the full variation name into every alt attribute

WooCommerce product names can become long very quickly.

Imagine a variation internally described as:

Women's Premium Merino Wool Sweater – Forest Green – Medium

That full commerce label does not automatically make good alt text.

If the photograph simply shows the green sweater, this may be enough:

Forest green merino wool sweater

You probably do not need:

Women's Premium Merino Wool Sweater Forest Green Medium

especially when size is not visually distinguishable.

Product data and image description overlap, but they are not the same thing.

Alt text should describe what the image contributes.

Do not use variation IDs, SKUs, or filenames as alt text

Stores with large catalogues often end up with image metadata generated from internal systems.

That can produce alt text such as:

SKU-48291-GRN-M

variation-8392

shirt-green-medium-final

IMG_8821

These values may help the ecommerce system identify an asset.

They do not meaningfully describe the image to a customer.

A filename such as:

linen-shirt-sage-green.jpg

may contain useful clues.

But the useful alternative text is:

Sage green linen shirt

not the raw filename.

What about variation swatches?

Many WooCommerce stores use color or image swatches instead of standard dropdowns.

Swatches and product images perform different jobs.

A swatch helps the shopper choose a variation.

The product image shows what that selection looks like.

If selecting a swatch changes the main product image, inspect the resulting image on the live page and check what alt attribute is actually rendered.

Do not assume that because the variation is correctly configured in WooCommerce, the storefront necessarily outputs the description you expect.

Themes, gallery components, and variation plugins can influence the rendered markup.

If the live value differs from what you set in WordPress, see WooCommerce Image Alt Text Not Showing? Why It Happens and How to Fix It.

Should the color name always appear in alt text?

No.

Include color when it is useful for understanding the image.

For a product where color is the main visual difference between variations, it usually makes sense.

But blindly inserting color names can create strange descriptions.

For example, a store may use internal variation labels such as:

Midnight

Ocean

Desert

Those may be perfectly good merchandising names but poor image descriptions.

If Midnight is visually a dark navy blue, an alt description such as:

Dark navy running jacket

may be clearer than:

Midnight running jacket

unless the branded color name is itself useful in context.

Alt text does not need to reproduce your internal catalogue taxonomy exactly.

It needs to describe the image accurately.

Variation alt text and accessibility

Variation images often communicate information that is important to the buying decision.

A shopper may need to know:

  • which color is selected;
  • what a material looks like;
  • how one style differs from another;
  • whether a finish is matte or glossy;
  • which pattern is currently displayed.

If that information exists visually but disappears from the alternative text, a user who cannot see the image loses part of the product information.

The solution is not to write enormous descriptions.

It is to preserve the meaningful visual distinction.

Black leather wallet

and:

Tan leather wallet

may be all that is needed.

Do you need alt text for every size variation?

Usually not just because the size exists.

Imagine a shoe available in sizes 7 through 12.

If all six variations use the same image, creating six separate alt descriptions such as:

Black running shoe size 7

Black running shoe size 8

Black running shoe size 9

does not provide new visual information.

The image shows the same shoe.

Size information is better communicated by the variation selector and product content.

If, however, different sizes genuinely have visible differences and use different photography, describe what is actually visible.

The rule stays the same:

describe the image, not the database row.

What if several variations reuse the same image?

WooCommerce stores sometimes use one asset across multiple variations.

That is fine.

You do not need to manufacture different alt text merely because several variations reference the same image.

For example, a product may have separate size variations but use the same photograph for every size.

One accurate description is enough for the shared visual.

Unique variation records do not require unique image descriptions.

AI-generated alt text for variations

AI can make variation-heavy catalogues easier to process, but variation images create an important quality problem.

A model looking only at the image may describe:

Green shirt

while the product data contains:

Women's relaxed-fit linen shirt — Sage

Combining reliable visual information with useful product context can produce a better description:

Sage green relaxed-fit linen shirt

But product metadata should not be blindly inserted into the result.

If the variation says Large, that does not mean the model should automatically add size Large when size is not visually meaningful.

If the catalog says 100% Italian linen, the image alone may not prove that claim either.

Good automated alt text needs restraint as much as generation.

For more on this, see AI-generated alt text for WooCommerce.

How to check variation image alt text in WooCommerce

Start with the live storefront.

Open a variable product and select a variation.

When the image changes, inspect the resulting <img> element in the browser.

Check its alt attribute.

Then select another variation and repeat the process.

For example:

Black variation:

<img src="/shirt-black.jpg" alt="Black linen shirt">

Green variation:

<img src="/shirt-green.jpg" alt="Sage green linen shirt">

If the visual changes but the alt text stays generic or incorrect, you have identified a variation-image issue.

The important part is checking what the website actually renders, not only what appears in the WordPress admin interface.

Variation-heavy stores make manual auditing difficult

A store with 300 products can already contain thousands of variations.

Add several images per variation and the number of image states becomes much larger than the number of products.

That makes manual checking increasingly impractical.

And the problems are rarely uniform.

One store might contain:

  • variations with useful alt text;
  • variation images with empty alt attributes;
  • raw filenames;
  • generic product names reused everywhere;
  • colors missing from descriptions;
  • invisible variation attributes unnecessarily copied into alt text;
  • old images with stale descriptions.

The sensible workflow is not to regenerate everything.

It is:

scan → identify the actual issues → fix what needs fixing → rescan

That is the workflow IMSCRIB is built around.

Do not rewrite good variation alt text just because you can

Automation makes bulk rewriting easy.

That does not make bulk rewriting desirable.

If an image already says:

Terracotta linen cushion

and that accurately describes the image, replacing it with:

Terracotta-colored decorative linen throw cushion

does not necessarily improve anything.

Existing alt text should be replaced when there is a clear problem.

Examples:

  • missing text on a meaningful image;
  • generic text such as image;
  • filename-like text;
  • inaccurate variation description;
  • duplicated text that hides meaningful visual differences;
  • irrelevant keyword stuffing.

The objective is not maximum generation.

It is a cleaner image-description layer across the store.

For broader guidance, see how WooCommerce image alt text should be written.

FAQ

Should WooCommerce variations have different image alt text?

If different variation images communicate meaningful visual differences, their alt text should normally describe those differences. Color, pattern, finish, or style are common examples.

Should size be included in variation image alt text?

Only when size is useful for understanding what the image actually shows. If several size variations use the same photograph, repeating the size in the alt text usually adds little value.

How do I add alt text to a WooCommerce variation image?

Variation images use WordPress media assets, so their image metadata can be managed through WordPress. What matters on the storefront, however, is the alt attribute actually rendered by the product gallery or theme.

Can WooCommerce variations have multiple images?

Yes. Current WooCommerce versions support variation galleries, allowing individual variations to have multiple images rather than only one variation image.

Should color variation names be used in alt text?

Use the color when it accurately and usefully describes the image. Internal or branded color names do not have to be copied verbatim if a clearer visual description is more useful.

Can multiple variations use the same alt text?

Yes, when they genuinely use the same image or communicate the same visual information. Alt text does not need to be unique merely because the underlying WooCommerce variations are different.

Conclusion

WooCommerce variations create a simple test for good alt text:

What changed visually when the shopper selected this variation?

If the image changes from black to green, the description should usually preserve that distinction.

If the variation changes only an invisible attribute such as size or internal configuration, that information does not automatically belong in the alt text.

And if one variation has several gallery images, describe both the variation and what each image contributes.

The goal is not to translate every WooCommerce attribute into an alt attribute.

It is to describe the product image the shopper is actually being shown.

For small catalogues, you can inspect variations manually.

For larger stores, scanning the live storefront first helps identify which images genuinely need attention before rewriting thousands of descriptions.

Scan your WooCommerce store for content issues

Find weak image alt text and product descriptions, review suggested fixes, and focus only on content that needs attention.

Free scan
Finds alt text + product description issues
No plugin or setup needed