Home Work Services About Blog Contact Start a project
Creator Agency CN Creator App TCN Agent LIVE Games Dentistry Downloads
ENAR

All articles

Alt Text That Serves the Page

Alt text helps people understand an image when they cannot see it. Describe what the image contributes to the page. For a purely decorative image, keep the alt attribute present but empty so assistive technology can skip it.

Decide what each image is doing

Before writing anything, ask what the image contributes. An informative image carries meaning the surrounding text does not: a product photo, a chart, a map, a signature. A decorative image is visual texture: a divider, a background wash, a stock photo that only sets a mood. The same file can fall into either group depending on the page. A photo of a storefront on a contact page is informative because it shows the location. The same photo behind a headline on the homepage is decorative.

This decision drives everything else. Informative images need a description. Decorative images should have an empty alt attribute so screen readers skip them. If you describe decoration, you add noise to every reading of the page. If you leave an informative image undescribed, you remove meaning. Sort the images first, then write.

Describe the meaning, not the file

A useful description answers what a sighted reader takes from the image in context. For a chart, that means the trend or comparison, not the colors. For a team photo, it means who is shown and where, if that matters. For a product shot, it means the item and any detail the text does not already state. Avoid opening with phrases like image of or photo of; assistive technology already announces that it is an image.

Keep it to roughly a short sentence. If the image needs a paragraph, the information belongs in the body text with the image supporting it. Keyword stuffing is the common failure here. A description packed with repeated service names and city names reads as nonsense to a listener and does not help the page. Write for the person, not the crawler.

Screenshots and text inside images

Screenshots are a special case because they usually contain text. Describing every button label is unreadable. Instead, state what the screenshot demonstrates and where the important part sits, then repeat the essential text in the surrounding copy so it is available to everyone. If a screenshot shows a dashboard with a rising line, the description can say that the dashboard reports growth over the period shown, while the paragraph below explains the numbers.

Text baked into a banner or infographic is a bigger problem. Search engines and screen readers cannot read it reliably, and it does not scale on small screens. The better pattern is real text styled to look the way you want, with the image as decoration or support. When text in an image is unavoidable, put the same words in the alt attribute and in nearby body text.

Suppose a bilingual site publishes a promotional banner with the offer written inside the image. A practical test: turn images off in the browser and read the page. If the offer disappears entirely, the page fails and the text needs to move into the markup.

Arabic pages need Arabic descriptions

On an Arabic page, write the description in clear Modern Standard Arabic. Keep recognizable product or person names where needed, and test mixed-language descriptions with the screen readers your audience uses. Pronunciation depends on language settings and available voices; do not assume that every combination behaves identically.

Test descriptions together with their captions and surrounding Arabic text. Mixed names and numbers need to remain understandable in right-to-left reading order and when spoken aloud. Use consistent terminology so the same object is described consistently across the site.

A working acceptance test

Pick five representative images from a live page: one product photo, one chart, one decorative divider, one screenshot, and one banner with text. For each, write down what a sighted visitor learns from it. Then read the page with images disabled and with a screen reader. The informative images should still convey their meaning, the decorative ones should pass silently, and the banner text should still be readable somewhere on the page.

If any informative image loses its meaning, rewrite the description. If a decorative image is announced, empty its alt attribute. If the banner text vanishes, move that text into the page. This test takes a few minutes per page and catches the failures that matter most.

Two tradeoffs are worth naming. Longer descriptions help complex charts but slow down listening, so put the detail in the body and keep the alt short. And a description written for one page may not fit the same image reused elsewhere, so review alt text whenever an image moves. The goal is a page that makes sense without the pictures, not a perfect description of every pixel.

References and related reading

Continue reading

A practical next step

Explore the related Devign work, then discuss your requirements before committing to a project scope.

Related Devign work · Discuss your project