Skip to main content
Home/Recipes/WCAG accessibility audit
Audit & Compliance

11.WCAG accessibility audit

QADeveloperDesignerPM

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

Terminal
dembrandt stripe.com --wcag --save-output

Crawl then audit

Terminal
dembrandt stripe.com --crawl 5 --wcag --save-output
Output

Per-pairing contrast ratios with WCAG 2.1 AA/AAA pass/fail verdicts.

Browse all

All recipes →

43 workflows