Trusted by 10,000+ marketers

  • Private planning
  • Instant access
  • Publication insights

Find your next useful tool

Popular tools and guides

Content

Image alt text: describe purpose, not every pixel

Write alt text around the image's purpose in the surrounding content. An informative diagram needs its meaningful information conveyed; a purely decorative image may use an empty alt attribute. Review context before assuming that every empty attribute is an error or that every nonempty one is helpful.

Illustration of a writing document and pencil

The short answer

Write alt text around the image's purpose in the surrounding content. An informative diagram needs its meaningful information conveyed; a purely decorative image may use an empty alt attribute. Review context before assuming that every empty attribute is an error or that every nonempty one is helpful.

A worked example

A fictional tutorial shows a crop rectangle with a 20-pixel left offset. An alt description can state the rectangle's relevant position rather than listing the screen's colors. A leaf illustration beside the title adds mood but no instructional information; empty alt prevents it from becoming unnecessary reading noise. A linked image needs a separate check of the link's accessible name.

A practical checklist

  1. Classify the image as informative, functional or decorative in this exact context. The same asset may need different treatment on another page.
  2. Describe the information or action the reader would otherwise miss. Put long diagram explanations in nearby visible text rather than forcing everything into one attribute.
  3. Inspect the page with images unavailable and review links or buttons containing images. Use an HTML alt checker to find missing attributes, then make the editorial judgment yourself.

What to avoid

Avoid filling alt attributes with SEO keywords or accepting a generic filename as a description. Automated checks can identify missing or empty attributes, but cannot certify that the chosen words accurately convey the image's purpose.

A useful follow-up

Is empty alt always wrong?

No. It can be appropriate for a decorative image; informative and functional images need contextual review.

Sources and further reading

Sources support the referenced facts, not a business endorsement or promised outcome.

Editorial note. Review the stated author, sources and publication scope before applying this guidance. Examples are illustrative, not customer results. No ranking, citation or commercial outcome is guaranteed.

Continue with context

Related reading

Write a direct answer without losing important context

Begin with the shortest accurate answer, then add the conditions that affect how it applies. Directness should remove unnecessary setup, not uncertainty or exceptions. A useful opening lets the reader understand the conclusion and decide whether to keep reading the supporting detail.

Read the guide ↗

How to write a guest-post brief an editor can use

A usable brief names the reader, the problem, the proposed answer and the evidence available. Give the editor a clear scope with room for editorial judgment. A list of keywords alone does not explain what the article should help someone do or why the publication should carry it.

Read the guide ↗

Match article structure to the reader's search intent

Structure the article around the task implied by the question. A reader comparing options needs criteria and trade-offs; someone learning a process needs ordered instructions and prerequisites. Start with that distinction rather than placing the same introductory essay on every subject.

Read the guide ↗