Design & UX

Product Image Alt Text: Describe What the Reader Needs

Write product image alt text around each photo’s shape, detail and purpose, using a mug example to make useful descriptions without unnecessary repetition.

Baca dalam Bahasa Indonesia
A pale-blue ceramic mug with a C-shaped handle

Product image alt text conveys visual information when a picture cannot be seen or loaded. Its wording should follow the reason that photograph appears on the page. An overall view, a material detail and an image used as a button may need different alternatives even when they show the same product.

Start with a question: what information would disappear if this image were unavailable? That answer is more useful than adding a keyword list to every photograph. Readers need an explanation that fits the context, rather than the complete catalogue squeezed into one image attribute.

Identify the information the photo carries

Imagine a ceramic-mug product page. The overall photograph introduces the colour and handle shape. A close view shows the handle joint or rim. Giving both photographs identical alt text fails to communicate the additional purpose of the detail view.

For the overall photograph, a relevant example is “A pale-blue ceramic mug with a C-shaped handle”. It describes visible features without inventing capacity, heat resistance or material quality. Specifications that cannot be established from the photograph still require reliable product information.

The W3C WAI informative-images guidance explains that an appropriate alternative depends on the image’s context and purpose. One photograph therefore does not always need the same sentence when used on different pages.

Match the alt text to the image role on the page

A whole-mug view and a handle detail that need different descriptions
The whole view introduces the shape; the detail view explains the part being discussed.

In a product introduction, describe the main visible characteristics that help identify it. In a section about the handle, focus on the handle detail actually shown. Avoid repeating a lengthy product name when the heading and surrounding text already supply it.

This table shows how the focus can change while the subject remains the same. These examples describe the content of a photograph; their suitability still needs checking on the page where that photograph appears.

Photo’s role Alternative-text focus
Introducing the whole shape Visible colour and handle shape
Discussing the handle detail The joint between handle and mug body
Comparing two colours The different colours and each product’s position

Do not describe details that cannot be seen at the displayed size or are hidden behind another object. If a section discusses a particular feature, choose a photograph that actually reveals it. Alt text cannot correct an unsuitable photograph or replace unverified specifications.

An informative image differs from an image that is the only content of a link. For a functional image, readers need to understand the action, such as opening a product page. A description of its shape alone may not explain what happens when the link is activated.

Also check whether that same link already contains a visible product name. An alternative that repeats the full name can produce repetitive announcements through assistive technology. Review the image and text as one link, rather than filling each attribute in isolation.

An empty alternative can be appropriate for a decorative image that adds no information. That decision follows the picture’s role, rather than its small size or the team’s opinion that it is unimportant. Do not empty the alt text of a photograph that communicates a variant or detail unavailable in the text.

Use concise, concrete wording

Put useful information first. Avoid a long introduction such as “This is a picture of” when it adds no meaning. Use the language of the page so the alternative can be understood alongside its content. An English edition needs an equivalent English description, rather than an Indonesian attribute left behind after copying the page.

Microsoft’s alt-text guidance likewise directs writers toward relevant information and context. The sentence does not need to describe every background object if the background does not help the reader’s decision.

A string such as “cheap best premium quality mugs for sale” does not describe a photograph. Include a brand, model, size or material only when relevant and confirmed. There is no need to impose one character count on every image; provide enough information for its particular role.

Review the photo and surrounding text together

Read the section heading, alternative, caption and nearby paragraph as one sequence. Does the main information come through? Is there lengthy repetition or a claim the photograph cannot support? When a front view is replaced with a detail view, update its alternative at the same time.

Keep proposed alt text with the asset notes so a reused photograph can be reconsidered in its new context. The guide to preparing logos, photographs and product content helps organise those materials before handing them to the website team.

When preparing content for WebsiteKilat, include the product name, approved facts, each photograph’s purpose and the page language. The team can then pair images, alternatives and captions without guessing specifications. When a product or photograph changes, reviewing that small information package keeps the explanation consistent with what readers are shown.

Start a conversation

Let’s discuss your website.

Bring the goal, the material you have, and anything that still feels unclear. We can start there.