Start a project ↗
TREN
← LMC / WEB CONTENT

How should you write alt text for website images?

An ivory sphere inside a blue frame stands beside a blank description card.

The short answer

Write for the image’s purpose in its current page, rather than its filename. Convey useful information, describe an action when the image is a control, and consider an empty alternative for decoration. One reusable sentence is unlikely to serve every image well.

Describe the product detail that matters here

W3C’s informative-image guidance centres on conveying the image’s meaning in context. The relevant detail depends on why the image appears on that page.

For a hypothetical bag listing, “Black shoulder bag with the zipped inner pocket visible” is more useful than “Product image” when that is what the photograph shows. Do not infer an unseen material or make a quality claim from appearance alone.

Our recommendation is to review each shot in a product gallery separately. A front view, an interior photograph and a strap close-up contribute different information. Identify that contribution before drafting the alternative.

Make decoration an explicit decision

W3C’s decorative-image guidance explains using alt="" where an image adds no meaningful information. An empty value is different from omitting the attribute.

An abstract texture behind a heading may be decorative. The same photograph might be informative in another context, so do not classify it solely by its appearance.

In the content handover, mark the decision as “decorative” rather than leaving an unexplained blank. That helps the publishing team distinguish an intentional choice from missing copy.

For a clickable image, explain the destination or action

W3C’s functional-image guidance focuses on what a linked image or button does. “Down arrow” describes a shape but does not explain a download.

A hypothetical alternative could be “Download the product catalogue.” If that wording already appears within the same link, the icon may not need to repeat it. Review the accessible name of the complete control, including adjacent text within it.

This decision benefits from collaboration between editor and developer. A good description in a spreadsheet does not establish that it was applied to the correct control in the published page.

Give complex graphics room for explanation

Complex charts and diagrams can need both a short identifier and a fuller text equivalent. W3C discusses making that fuller description available in the visible page content.

For a process diagram, “Workflow” does not communicate the order of its steps. We recommend also presenting the sequence in text beside the graphic. For numerical charts, consider an accessible table of the verified values.

Repeating a chart title and communicating its information are different tasks. Ask what relationship, sequence or finding someone should understand without seeing the graphic, then review the text against that purpose.

Review the copy in the published context

Add image alternatives to the content brief and handover register. Record the image, page, purpose, language and approved wording together. Use this LMC editorial checklist:

  • Does the wording describe information actually present?
  • Does it unnecessarily repeat the surrounding heading or caption?
  • For a linked image, is the destination or action understandable?
  • Are decorative decisions recorded deliberately?
  • Is the essential information in a complex graphic available as visible text?
  • Does each language version fit its page’s context?

Apply the same review to automatically generated descriptions. Reject invented product features and interpretations that the image does not support. Avoid turning the alternative into a list of search terms.

Finally, check the published experience with a screen reader to understand how the text is encountered. That check alone does not establish accessibility across the whole website. When planning web content with LMC, we can include image alternatives in the creative delivery rather than leaving them for the final upload.

Sources

Sources checked on 27 November 2026. The examples and review checklist are LMC editorial recommendations.