GreenTEC
All articles ↗
Web Design / Practical guide

Website images: plan alternative text when choosing the image

A practical editorial routine for useful image descriptions: establish purpose, review the surrounding text and check each language separately.

GreenTEC · EN
Illustrative view of a website on a laptop and smartphone
Illustrative image · digitally created

Decide what the image contributes first

Do not leave an image description until the upload step. When choosing an image, record what readers should learn from it. Our suggestion for a small team is one row per image listing its location, purpose, draft description and owner.

The W3C guide to informative images focuses on conveyed meaning. Describe the information relevant to this particular page.

Review an example together

Imagine an original illustration of a website on a laptop and smartphone. If it explains adaptation to different screen sizes, “The same website on a laptop and smartphone” could be a draft. If it explains a specific usability problem instead, that sentence is insufficient: describe the relevant difference in the alternative or accompanying text.

Read the heading, paragraph and draft aloud in sequence. Is the reason for including the image clear? Remove unsupported details and promotional claims from the draft.

Illustrative website planning with sketches on paper
Illustrative image · digitally created

Separate decoration from controls

For purely decorative HTML images, W3C describes an empty alt attribute: alt="". This differs from omitting the attribute.

For an image used as a control, W3C emphasises function. For example, check whether an image-only button has an accessible name that explains its action. Discuss implementation with your developer; filling in a CMS field alone does not prove the output is correct.

Plan translation and review together

Keep each description alongside its article language. A German alternative text beneath a Turkish article should not silently count as a completed translation. After replacing an image, check again that its description still matches.

For acceptance, we suggest sampling the published page and testing with a screen reader. Record problems, correct them and repeat the affected steps. This small routine is not a full accessibility assessment, but it makes image decisions traceable.

Sources & further reading

W3C WAI · Informative images ↗

W3C WAI · Decorative images ↗

W3C WAI · Functional images ↗