Lorixen.
EN

Writing Alt Text for Product Photos: A Practical Guide

Short answer: Alt text is the short description attached to an image in the HTML. Screen readers speak it aloud, and it appears when the picture fails to load. Write it by asking three questions: what is the picture for, what would a person miss if they could not see it, and what is the shortest wording that covers that. For most product photos, one sentence that names the item, its colour or material, and the angle or detail shown is enough. Decorative images get an empty alt attribute, and text inside an image must be repeated in the alt text.

Ask the three questions

Take a shoe photo from a product page. Ask yourself:

  1. What is the picture for? It shows a customer what the boot looks like, so the description should cover the look and the key detail.
  2. What would a person miss without it? The colour, the style and the fact that the heel is low, which matters to someone shopping for comfort.
  3. What is the shortest wording that covers that? Often a single phrase is enough.

The answer for the shoe might read: "Tan leather Chelsea boot, side view, with a low block heel". The brand, the size and the price belong in the product text, not the alt text, unless the photo itself shows them.

Before and after examples

Here are three common cases. The "before" versions show what goes wrong.

A shoe. Before: "IMG_4471.jpg" or "shoe". After: "Tan leather Chelsea boot, side view, low block heel."

A bouquet. Before: "bouquet of flowers for sale on our website". After: "Hand-tied bouquet of white roses and eucalyptus in kraft paper."

A team photo. Before: "team". After: "Three staff members standing at the front counter of a bike shop in Leeds." If you name people, do so only with their consent.

The after versions describe what someone would see. They do not stuff in keywords, and they do not begin with "image of" or "photo of", because screen readers already announce that an image is present.

Length

There is no legal limit, but short alt text is easier to listen to. For most product photos, aim for one sentence and roughly a hundred characters or fewer. If a picture needs more explanation, such as a chart or an infographic, put the detail in the surrounding text and keep the alt text to a summary that points to it.

Decorative images

Some images add nothing to the meaning of the page. A background texture, a divider line or a repeated icon next to a label can be marked as decorative with an empty alt attribute:

<img src="divider.png" alt="">

Do not leave out the alt attribute entirely, because the browser may then read out the file name. An empty value tells assistive technology to skip the image.

Text inside the picture

A sale banner that says "Summer sale, 20% off all sandals" needs the same words in the alt text, because a screen reader cannot read the pixels. Write the text as it appears, then add any detail that matters, such as the dates. If the banner is decorative and the words are repeated in the page body, the empty alt attribute is acceptable.

Product variants

Shops often show the same item in several colours. Describe the difference rather than repeating the full product name every time:

  • "Navy wool jumper, front view"
  • "Navy wool jumper, close-up of the cable knit"
  • "Grey wool jumper, front view"

This helps a screen reader user move through the options without hearing the same title again and again.

Alt text in a bulk upload

When a platform imports hundreds of photos, the alt text field often arrives blank or filled with the file name. Export the product list, add a column for the alt text, and fill it from the product title, colour and angle, using the same pattern for each row. Then spot-check twenty random products by hand, because a pattern that works for shoes can produce nonsense for jewellery or cushions.

A quick check

  1. Read each alt text aloud. If it sounds like a list of keywords, rewrite it as a sentence.
  2. Turn on a screen reader and move through a product page. On an iPhone, use VoiceOver from the Accessibility settings. On a Windows laptop, NVDA is a free option.
  3. Check that the alt text matches what is shown. A photo of a grey jumper with "navy" in the alt text is a common error after a colour change.
  4. Look for file names in the alt text, such as "DSC_0034". These should be replaced.

Logos, icons and linked images

A logo that links to the homepage needs alt text that describes the destination, such as "Example Bakery home". A logo that is not a link can simply give the business name. Icons placed next to a visible text label are usually decorative, so give them an empty alt value, because the label already explains them. An icon that works alone, such as a basket button with no visible text, needs a description of the action, such as "View basket".

For a linked product photo, the alt text should describe the item, because the link leads to the product. Avoid writing "click here" or "view product" in the alt text, since the screen reader already announces that the image is a link.

FAQ

Does alt text help search rankings?

Google reads it as one signal about the image, so accurate alt text can help images appear in image search. Its main job is to describe the picture to people who cannot see it, and that job comes first.

Should I use my product keyword in every alt text?

Use it when it describes the item honestly. Repeating it in every image makes the text harder to hear and may look like keyword stuffing.

Who writes alt text for a large catalogue?

Start with the main product photos and write them yourself. For larger ranges, use a template for the common parts, such as colour and angle, and check a sample by hand.

Can an automatic tool write it for me?

Automatic tools can give a starting point, but they often miss the purpose of the picture. Review every suggestion before you publish it.

If you would like us to write and review alt text across your product range, tell us how many products you list.

Sources

WhatsAppBook a call