New Tool Radar

Design Accessibility

How to Check Large Text Contrast in an AI Design

Check that large text in an AI design meets the 3:1 contrast ratio for large-scale text.

Schematic diagram: steps to check wcag 1.4.3 contrast (minimum) on an AI-designed page — with a practice result of 4 of 6 checks passing and 2 failing for the fictional Maple Corner landing page.

An AI design tool can lay out a page that looks finished and still fail the accessibility rule it was supposed to follow. WCAG 1.4.3 Contrast (Minimum) is the rule this guide checks: large-scale text has a contrast ratio of at least 3:1; large text means at least 18 point, or 14 point bold. A design that passes by eye can still fail it, so check the rule itself, not the look of the page.

What the rule asks

WCAG 1.4.3 Contrast (Minimum) asks that large-scale text has a contrast ratio of at least 3:1; large text means at least 18 point, or 14 point bold. The rule is written for the reader who cannot see the page the way you do, so the check has to be made from that reader’s point of view: keyboard only, colour removed, or screen reader only.

How to check it

Measure every heading and hero line against its background and note the size first.

  1. List every heading and hero line and note its size
  2. Confirm text at 24px or larger, or 18.5px bold or larger, is treated as large text
  3. Measure each large text against its background, aiming for 3:1
  4. Check large text that sits on a photograph, not just on a flat colour
  5. Confirm a thin or unusual font is not used to excuse a low ratio

Practice check: fictional Maple Corner

The table below is fictional practice material, with fictional values. It is the expected result for the practice page, worked out against the WCAG Understanding page, not a run of any accessibility tool.

Check As shown Result
Hero headline 36px white on dark blue, 8.2:1 Pass
Section heading 28px dark grey on white, 7.1:1 Pass
Card title 24px dark grey on white, 7.1:1 Pass
Footer heading 20px bold dark grey on white, 7.1:1 Pass
Photo headline 30px pale yellow on a bright photo, 2.2:1 Fail — add a dark scrim or darken the text to 3:1
Promo banner 24px light grey on white, 1.9:1 Fail — darken the text to at least 3:1

Four of the six checks pass, and two fail. The passing checks show the design follows the rule in most places, but the two failing checks would block a reader on every visit if they went out unchecked.

Expected result. We checked the Maple Corner landing page against WCAG 1.4.3 Contrast (Minimum). We did not run any accessibility tool on the page.

Limits

  • No accessibility tool was run on the Maple Corner landing page, and Maple Corner is fictional. The table above is the expected result for the practice page, not a test of any product.
  • This guide checks one criterion on one page. A page that passes this check can still fail other criteria; check each rule separately.
  • Ratios in this guide are the thresholds from the WCAG Understanding page. A ratio of 4.499:1 fails a 4.5:1 requirement; ratios are not rounded.
  • It does not check the design’s brand colours. A design that passes this check can still use the wrong brand colour; check colours separately.

Sources

See all