New Tool Radar

AI Design Workflows

How to Check Whether an Image of Text Should Be Real Text

Check whether an image of text should be real text instead, because WCAG asks for real text wherever the same look can be made with text alone.

Schematic with three steps: list the images of text, try rebuilding each as real text, keep only the exceptions.

A heading saved as a picture cannot be resized, translated, or read by a screen reader without alt text, and it blurs when zoomed. WCAG asks that text be presented as real text wherever the same visual presentation can be made with text alone. This check finds the images of text and tests whether each one could be rebuilt.

Why this needs its own check

WCAG 2.1 success criterion 1.4.5 Images of Text, Level AA, says that if the same visual presentation can be made using text alone, an image is not used to present that text. The WCAG 2.2 checklist carries the same rule. Logotypes and text that is part of a picture with significant other content are excepted.

What you need before you start

  • The page open in a browser
  • A list of images that contain words
  • The site fonts and styles, to test a rebuild

Step 1 – List every image of text

Go through the page and write down each image whose purpose is to show words: headings saved as pictures, buttons with baked-in labels, quote cards. Logos are excepted, so note them separately.

Step 2 – Try rebuilding each one as real text

For each image, try to make the same look with HTML text and the site fonts. If the look can be matched, the image fails and should be replaced. If it needs a custom lettering effect no font can match, note that as a possible exception.

Step 3 – Keep only the genuine exceptions

A logo, or text inside a photograph where the text is part of the scene, can stay as an image. Everything else that could be real text should become real text, with alt text in the meantime.

Worked example

Practice check: a fictional Fern and Field Florist home page

The example below is fictional. Fern and Field Florist is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.

Part What it should be As shown Result
Section heading as image Real text possible Heading can be rebuilt with the site font Fail – should be real text
Logo with tagline Logotype exception Logo, excepted Pass
Sale badge as image Real text possible Badge can be rebuilt with real text Fail – should be real text
Photo with shop sign Text part of the scene Sign is part of the photograph Pass

Only 2 of the 4 checks pass: the logo and the photograph with the shop sign. The two failures are the section heading and the sale badge, both of which can be rebuilt as real text.

What to do when something is wrong

Rebuild the heading and the badge as HTML text over a background, keeping the same fonts and colours. Keep the logo as an image with alt text naming the business.

Expected result. We checked the WCAG 2.2 checklist listed in Sources. We did not test a live Fern and Field Florist page. UNTESTED: no page was rebuilt on a real site; the practice table shows the expected result pattern for a page with two images of text that should be real text.

Limits

  • This check covers images of text only. It does not cover alt text quality for the images that stay, which has its own check.

Sources

See all