1 Why this criterion exists
When text is rendered as part of an image, it stops behaving like text. You cannot select it, resize it without pixelation, or change its color and contrast through user styles. Assistive technologies such as screen readers cannot read it unless an equivalent text alternative is provided, and even then, the reading experience is often degraded because the text is trapped inside a graphic. WCAG Success Criterion 1.4.5, Images of Text, exists to ensure that information presented as text remains available as actual text. The criterion allows exceptions for logos and other cases where a particular presentation of text is essential to the information being conveyed, but it discourages the common practice of using images for headings, buttons, or decorative typography simply because it looks a certain way. The underlying principle is Perceivable: content must be presentable to users in ways they can perceive. Real text can be perceived through multiple senses and adapted to individual needs, while an image of text is a single, inflexible visual representation. By requiring text to be real text, the criterion protects the flexibility that makes digital content accessible across devices, assistive technologies, and user preferences.
2 Who it protects
This criterion primarily protects people with low vision who rely on zooming or enlarging text to read comfortably. When text is part of an image, enlarging the page often causes the image to scale up and become blurry, or the text within it remains small and unreadable because the image does not reflow. Screen reader users are also affected: an image of text requires a text alternative, and if that alternative is missing or poorly written, the information is simply unavailable. Users with dyslexia or other cognitive disabilities may benefit from changing fonts, spacing, or colors to improve readability, but those customizations are impossible when text is locked inside an image. People who use high-contrast modes or custom style sheets to override colors and backgrounds will find that images of text ignore those settings, potentially creating unreadable contrast. Additionally, users on slow connections or with data limits may avoid loading large images, losing the text content entirely. The criterion also helps users who translate pages, since real text can be translated by browser features, whereas text in images cannot. In short, anyone who needs to adapt text presentation for any reason is protected by keeping text as text.
3 How conformance is measured
Conformance to Success Criterion 1.4.5 is measured by determining whether text is presented as text rather than as part of an image, except where a particular presentation is essential. The criterion applies to all text on a page, including headings, body copy, buttons, and form labels. To evaluate, you must first identify any images that contain text. This includes not only obvious graphics like banners and infographics but also subtle cases such as text embedded in a screenshot, a stylized heading saved as a PNG, or a button created as an image sprite. For each image of text, you then ask whether the same visual effect could be achieved using real text and CSS. If it could, the image of text fails the criterion unless the text is part of a logo or is otherwise essential. The WCAG definition of essential means that removing the image would fundamentally change the information or functionality. For example, a logotype is typically essential because its specific typography and layout are part of the brand identity. However, a decorative heading that merely looks nice is not essential. Automated tools can flag some images of text by detecting text within images using OCR, but they cannot judge essentiality. Therefore, conformance requires manual review and human judgment, often combined with automated checks to catch common patterns.
4 Where teams usually slip
Teams often slip into using images of text for several reasons. Designers may create a visual mockup with a specific font that is not available as a web font, and rather than choose a fallback or license the font, they export the text as an image. Marketing teams may use images of text in banners or hero sections to ensure pixel-perfect typography across devices. Developers might embed text in images for buttons or icons to simplify sprite sheets or to achieve complex effects like gradients and shadows that were once difficult with CSS. Another common slip is using images of text for headings to improve search engine optimization or to avoid font loading issues, not realizing that this harms accessibility. Teams also overlook text inside screenshots or diagrams, assuming that because the image has an alt attribute, the text is accessible. However, an alt attribute provides a text alternative, but it does not make the text itself real text; users cannot select, resize, or style it. Additionally, some teams use background images with text for decorative purposes, but if that text conveys meaning, it must be real text. The criterion allows exceptions for logos, but teams sometimes stretch the definition of logo to include any branded text, which is not correct. These slips often stem from a lack of awareness about the flexibility that real text provides and the barriers that images of text create.
5 Fixing it in your markup
Fixing images of text starts with replacing them with real text styled using CSS. For headings, use HTML heading elements and apply web fonts or system fonts with CSS. For buttons, use button elements or links with text content, and style them with CSS backgrounds, borders, and shadows. For decorative typography, consider using SVG text, which remains real text and can be styled and scaled without loss of quality, though be aware that SVG text may still have accessibility considerations. If an image of text is essential, such as a logo, provide a concise text alternative in the alt attribute that conveys the same information. For complex images that contain text as part of a larger graphic, like an infographic, provide a full text alternative that includes all the text and describes the visual relationships. In cases where text is part of a screenshot, consider recreating the content as HTML or providing a detailed text description. When using CSS to replace text with an image, such as the old image replacement technique, ensure that the real text remains in the markup and is accessible to assistive technology, often by using a visually hidden span. Always test with images disabled to confirm that the text is still available. Remember that the goal is to keep text as text whenever possible, and only use images of text when the presentation is essential.
6 Testing before you ship
Testing for images of text should be part of your regular accessibility checks. Start with a manual review: scan each page for images that contain text. You can use browser developer tools to disable images and see if any text disappears. If text disappears, it was likely an image of text. Another technique is to use the browser's zoom feature to enlarge the page; if text becomes blurry or does not reflow, it may be an image of text. For a more systematic approach, use automated accessibility tools like axe, WAVE, or Lighthouse, which can flag images of text using OCR. However, these tools may produce false positives or miss subtle cases, so manual verification is essential. When you find an image of text, ask whether it is essential. If it is a logo, ensure it has appropriate alt text. If it is not essential, replace it with real text and CSS. Also, test with a screen reader to confirm that any text alternatives are read correctly and that real text is accessible. Finally, involve users with disabilities in testing when possible, as they can provide insights into how images of text affect their experience. By integrating these checks into your development workflow, you can catch issues before they reach production.
7 Frequently asked questions
What about logos? Logos are explicitly exempt from Success Criterion 1.4.5 because the specific presentation of text is essential to the brand identity. However, you should still provide a text alternative that conveys the logo's meaning, such as the company name. Can I use images of text if I provide alt text? Alt text provides a text alternative for screen readers, but it does not make the text real text. Users who need to enlarge or style text will still face barriers. The criterion requires real text unless the presentation is essential. What if the font is not available as a web font? You can use a fallback font stack or license the font for web use. If that is not possible, consider using SVG text, which can embed the font or use system fonts. Is it okay to use images of text for decorative purposes? If the text is purely decorative and conveys no information, it might be exempt, but it is often better to use CSS for decorative effects. If the text conveys meaning, it must be real text. How does this apply to text in videos? WCAG 1.4.5 applies to images of text, not to text in videos, which is covered by other criteria like captions. However, text overlays in videos should still be accessible. Finally, remember that the goal is to ensure that all users can perceive and adapt text to their needs.