11.WCAG accessibility audit
Overview
EU accessibility legislation (EAA) requires WCAG 2.1 compliance for most digital products from 2025. This runs a contrast check against the real rendered page, not theoretical values, and flags exactly what fails and where.
The --wcag flag runs a WCAG 2.1 contrast analysis against the actual rendered DOM. Not CSS source values, but real foreground/background color pairings as the browser computes them. Every text element on the page is tested against AA (4.5:1) and AAA (7:1) thresholds. The output lists each pairing with its contrast ratio and a pass/fail verdict. The European Accessibility Act (EAA) requires WCAG 2.1 compliance for most digital products and services from June 2025, making automated auditing a compliance requirement rather than a nice-to-have.
Full WCAG audit
Crawl then audit
Per-pairing contrast ratios with WCAG 2.1 AA/AAA pass/fail verdicts.
More in Audit & Compliance
Browse all
All recipes →