Useful alt text preserves the meaning or function a reader would otherwise miss while omitting purely decorative or redundant details. For an image that mixes both kinds of content, describe the essential contribution—not every visible element—and use a separate textual alternative when complex information cannot fit adequately in concise alt text.
Start with the Image’s Purpose, Not Its Appearance
Alt text is a textual replacement for an image’s contribution, not necessarily an inventory of everything visible. Begin by asking how the page or document would work if the image were unavailable. What information, action, or destination would a reader lose?
Context changes the answer. A visual may be meaningful in one setting but redundant in another because nearby text already communicates the same point. Screen readers use alt text to communicate graphical content to people who cannot see it, so useful wording should supply the missing meaning without adding ornamental details that do not affect understanding.
For a mixed-purpose image, separate its roles. Preserve the part that informs or enables an action, and omit styling that exists only for visual effect. This purpose-based approach is more useful than describing colors, shapes, or layout indiscriminately.

Separate Essential Information from Decoration
Use a short decision process before writing:
- Identify information available only inside the image. If otherwise unavailable text is needed, include that text in the alternative.
- Identify the image’s function. For an icon performing an action, communicate the function. For a linked image or button, communicate its destination or action rather than merely describing its appearance.
- Check the surrounding content. Text repeated as nearby real text generally does not need to be repeated in alt text.
- Remove visual effects and ornament that do not change what the reader understands or can do.
If the entire image is purely decorative or duplicates nearby content, WAI guidance calls for an empty alt attribute. Microsoft similarly permits purely decorative document visuals, such as stylistic borders, to be marked as decorative without written alt text.
A composite image may contain both decoration and meaning without requiring separate descriptions of every part. Write the alternative for the essential role of the whole image. For example, the relevant alternative for a functional symbol is its action or destination; its ornamental treatment is not part of the replacement unless that treatment itself changes the communicated meaning.

Handle Photographs, Text Images, and Complex Graphics
For a simple photograph or graphic that contributes meaning, give a brief description of that meaning in its specific context. Microsoft recommends describing an object and its context in one or two sentences, while WAI likewise favors a brief description for a simple meaningful visual. These guidelines support concise, contextual alternatives rather than exhaustive visual catalogs.
When an image contains text, distinguish visual styling from words the reader needs. Text used only as a visual effect, or repeated in adjacent real text, can receive an empty alternative. Otherwise unavailable text should be reproduced in the alt text. If that text serves as an icon, control, or link, communicate the function, action, or destination instead.
Graphs and other content-rich images need a different treatment. WAI recommends making the information in a complex graphic available elsewhere on the page. Korpela’s guidance similarly points toward an explicit textual alternative when the necessary information cannot fit adequately in alt text. Use concise alt text to identify the image’s purpose, then place the detailed information in the surrounding content rather than compressing every data point into one unwieldy description.
Conclusion
The practical test is simple: determine what the image enables readers to understand or do, preserve that contribution in text, and leave out decoration or information already available nearby. Use an empty alternative only when the whole visual is decorative or redundant; use a separate textual presentation when essential information is too complex for concise alt text.
Review one mixed-purpose image in your page or document now. Identify what readers must understand or do without seeing it, then revise its alternative text so that it communicates only that essential meaning or function.
Disclosures and limitations
- This article was prepared with AI assistance using only the supplied research package. Its accessibility guidance is synthesized from the three sources identified in the supporting source IDs.
Related reading
- Design & Media Guides for Clear Visual Communication
- How to Use Whitespace to Group Elements Without Fragmenting a Design
Sources
- Guidelines on ALT texts in IMG elements — jkorpela.fi
- An alt Decision Tree — Web Accessibility Initiative (WAI)
- Add alternative text to a shape, picture, chart, SmartArt graphic, or other object | Microsoft Support — support.microsoft.com
- Add or edit text & images – Sites Help — support.google.com
- Image Alt Text Guidelines for SEO & Accessibility — webashes.com
