Gamiss News

Technology

How to write clear alt text that works for people and search engines

Revised to about 650–700 words, tightened the guidance, and expanded to five natural internal links with a short Further reading section.

By Gamiss editorial team ·

close-up photography of keyboard

Illustrative stock photograph.

What alt text is for

Alt text is a text alternative for an image. It helps browsers and assistive technologies convey the same purpose or information that a sighted user gets from the image. The W3C notes that text alternatives support screen readers, braille displays, voice input, and other ways people access web content.

Good alt text is not a caption, a keyword dump, or a description of every visible detail. It answers one question: what should a person know here if they cannot see the image?

Start with function, then add context

The best alt text begins with the image’s role on the page. If the image is a button, icon, or control, name the action rather than the shape. A search button should usually be “Search,” not “magnifying glass.” If the image supports a point in the article, focus on the key information the reader needs to understand that point.

That same principle appears across accessibility guidance: text alternatives should convey purpose, not just appearance. If you are improving a broader page, it helps to think about overall structure as well as image text. This guide on Making a small website more accessible to visitors is a useful companion.

Keep it short when the image is simple

For straightforward images, a brief phrase is often enough:

  • Product photo: “Blue insulated water bottle”
  • Icon button: “Download PDF”
  • Team headshot: “Portrait of Maya Chen”

Short alt text works because it is easy to scan and easy for assistive tech to read aloud. Repeating “image of” or “picture of” is usually unnecessary unless the surrounding content makes it helpful.

When the image adds little or no information, it may be decorative. In that case, many systems let you leave alt text empty so screen readers can skip it. The exact method depends on the platform or CMS, so check how your tool handles decorative images.

Use details only when they matter

Some images need more than a label. Charts, diagrams, and screenshots often carry information that cannot fit into a short phrase. In those cases, keep the alt text focused on the main takeaway and move the rest into nearby body copy, a long description, or linked text if your platform supports it.

For example, instead of trying to list every element in a chart, you might write: “Bar chart showing sign-ups rising each month from January to June.” That gives the reader the point of the image without forcing them through clutter.

This matters for all kinds of web content, including forms and interfaces. The W3C points out that accessibility depends on content, user agents, and authoring tools working together. If your workflow is part of the problem, the fix may involve your CMS or publishing setup as much as your writing.

Write for the page, not for SEO alone

Search engines can use alt text as one signal of what an image shows, but stuffing keywords into every image usually weakens both usability and search value. Write what is true, specific, and relevant to the page.

A useful test is to read the sentence aloud with the surrounding copy removed. If it still makes sense and sounds natural, you are probably close. If it feels like a keyword list, trim it. If the image includes brand text, product names, or a visible interface element, include those only when they matter to understanding.

For teams publishing regularly, it can help to pair image review with other basic workflow checks, such as A practical checklist for updating everyday devices for routine maintenance or Reviewing app permissions before sharing personal data when tools and platforms handle sensitive content.

Common mistakes to avoid

Alt text fails most often in predictable ways:

  • It describes the image style instead of its meaning.
  • It repeats the surrounding heading or caption word for word.
  • It crams in too many keywords.
  • It leaves out important text visible in the image.
  • It treats decorative images as if they were essential.

A final check is consistency. If the image is part of a sequence, make sure each image gets a distinct role. If the page uses several similar images, write alt text that distinguishes them clearly enough for a non-visual reader to tell them apart.

Clear alt text does not need to be clever. It needs to be accurate, concise, and useful in context. When those three things line up, the result works better for screen reader users, voice navigation, and search engines alike.

Further reading

More Technology articles