Fix guides·Next.js·WCAG 2.2 Level AA

Fix WCAG 1.4.3 Contrast (Minimum) on Next.js

Text must have at least 4.5:1 contrast against its background (3:1 for large text).

How to fix it

  1. 01

    Locate the React component rendering the affected element.

  2. 02

    Apply the WCAG 1.4.3 fix: Run WebAIM contrast checker on your palette. Avoid gray-on-white below #767676.

  3. 03

    Add an automated test with @axe-core/react in dev to catch regressions.

Why it matters

WCAG 1.4.3 is a Level AA success criterion. Level A failures appear in most ADA web-accessibility lawsuits — over 5,000 were filed in 2025. Typical settlements run $5,000–$30,000 plus remediation cost.

Verify the fix

Run a free scan after deploying. Issue should clear and your risk score should drop.

Run free scan

Same fix on other platforms: Shopify · WordPress · Webflow · Squarespace