Barrierepruefung.de Web Accessibility Checker

WCAG 1.4.5 Images of Text: explained simply

If the technology in use can achieve the visual presentation, information must be conveyed with real text rather than images of text. Exempt are images of text that users can customise to their needs, and cases where a particular presentation is essential. Logos are considered essential.

Last reviewed: Sources

What does the criterion require?

Many people need text presented in a particular way: a larger font size, different foreground and background colours, another font family, more line spacing or a different alignment. This includes people with low vision, people with visual tracking problems and people with cognitive disabilities that affect reading. With real text, they can restyle it in the browser. With an image of text they cannot: it does not scale with browser settings, cannot be shown in the user's own colours and does not honour operating system settings such as high contrast (C22).

By the WCAG definition, an image of text is text rendered in a non-text form, such as an image, to achieve a particular visual effect. Text that is part of a picture with significant other visual content does not count. The W3C's examples are graphs, screenshots, diagrams and a person's name on a name tag in a photograph.

The criterion requires that, if the technologies being used can achieve the visual presentation, text must be used rather than images of text. The standard names two exceptions:

  • Customizable: the image of text can be visually customised to the user's requirements, meaning users can set its font, size, colour and background.
  • Essential: a particular presentation of text is essential to the information being conveyed. A note in the standard says logotypes, text that is part of a logo or brand name, are considered essential.

When an image of text is allowed

The Understanding document names further cases where an image of text may be used: if the effect cannot be achieved with text, if it would not be presented reliably in common browsers, or if using text there would interfere with another criterion, such as 1.4.4 Resize Text. The same applies to a font that is not widely available or that the author has no right to redistribute. A type sample, or the reproduction of an old letter that tells something about its time, are cases where the presentation is essential.

The criterion is also met if an image of text appears in addition to the same text and both are shown. One W3C example: someone uploads an event poster to their website's events calendar. The content management system cannot rebuild the poster in HTML and CSS, but the same content is shown as text next to the image.

Characters on buttons that do not express anything in human language are not text by definition. The W3C mentions a "B" for bold, an "I" for italics and "ABC" for spell checking in a text editor.

Common failures

The W3C lists no failure technique for 1.4.5. The cases below follow from the examples in the Understanding document and from the sufficient techniques.

  • Headings and menu items as graphics. A heading is an image in a particular font and size. According to the Understanding example, CSS achieves the same result with real text (C22). The same goes for a quote with indentation and italics and for menu items made of an icon and text.
  • Scanned documents without text. A PDF made only of scanned pages contains images instead of text. Assistive technology cannot read the words, and users cannot select, resize or recolour the text. The fix under PDF7 is to create the PDF from the source file, or to convert the scans with optical character recognition.
  • Images of text as the only view. A site that shows images of text for design reasons can, under C30, offer a second view with real text and a control to switch between the two. The W3C recommends making the text view the default.

Checked automatically and checked by you

What the automated check detects

The automated check does not measure this criterion. It is covered by a question in the manual checks.

What you check yourself

You answer this question in the manual checks of your scan.

Is text real text rather than an image?

  1. Look for text that is included as an image: headings and slogans in banners, buttons and menu items as graphics, quotes or prices as an image, scanned letters. Test: try to select the text with the mouse letter by letter. If that does not work, it is probably an image.
  2. It is a defect if the same presentation could also be achieved with real text styled with CSS; for headings, buttons and menu items this is almost always the case. If it cannot be achieved with text, the image is not a defect.
  3. Not a defect: logos and brand lettering, text where the presentation itself is the information (such as a type sample or the reproduction of a historical letter), and text that is part of a picture with significant other content, such as a name tag in a photograph. An image of text for which users can set font, size, colour and background themselves is not a defect either. If every image of text on your website falls under one of these cases, or its presentation cannot be achieved with text, choose "not applicable".

Classification

Level
AA
Introduced in
WCAG 2.0
W3C explanation
Understanding 1.4.5