Case study
Daily accessibility checks with alerts in Datadog
A daily pa11y and axe-core scan that sends accessibility issue counts to Datadog, alerts on regressions and reports each issue per component.
Context
The client is a cosmetics retailer that sells through its web store, its app and its own stores. Five web teams work on the web store, which runs in many locales.
Our role
We partnered with the client’s architecture team and built the monitor, whose report sends each issue to the team that owns the component.
Problem
- The client had no accessibility metrics.
- A release could add accessibility errors without anyone noticing.
- A list of errors per page did not show which component broke or which team owned it.
What we did
- Research (June 2026). We researched the tools and chose pa11y with two rule sets: HTML_CodeSniffer checks WCAG 2.0 AA, and axe-core adds WCAG 2.1 AA rules.
- Scan. Every day at 05:00, a GitHub Actions job scans 8 page types in each production locale. The scan runs in headless Chromium and can also scan pages behind a login.
- Metrics. Each scan sends the issue count, the scan duration and the scan status to Datadog, with tags for locale, page type, team and rule.
- Alerts. A Datadog monitor watches the error count and sends an alert to Slack when the count goes up.
- Report. An HTML report on GitHub Pages groups the issues by UI component, which the monitor finds from the CSS class names. Each component links to the team that owns it, and screenshots show the failing elements.
- Live (July 2026). The monitor ran in production from early July 2026. The teams gave feedback on the report, and we changed the report based on that feedback before the work was done in September 2026.
Next to manual testing
The daily scan catches regressions early and works next to manual testing, because tools cannot check every WCAG criterion.