Guides
Practical notes on testing accessibility in CI: what the checks find, what they cannot, and how to fix the violations that come up most.
-
Heading order, landmarks, and axe-core's best-practice rules
heading-order, region and landmark-one-main are axe-core best-practice rules, not WCAG failures. What that difference means, and when to turn them on in CI.
-
Monitoring production for new accessibility violations
CI only sees changes made in a pull request. How to watch production pages on a schedule and hear about new accessibility violations, and only the new ones.
-
The WCAG 2.2 additions, and which of them a scanner can detect
WCAG 2.2 added nine success criteria and removed one. Which of the new criteria automated tools can check, which they cannot, and what to test by hand instead.
-
Image alt text: what the image-alt rule catches and what it cannot judge
What axe-core's image-alt rule reports, how to write alt text for informative, functional and decorative images, and why alt="image" still passes the scan.
-
Running accessibility checks on pull request preview deployments
Scan each pull request's preview deployment in GitHub Actions, fail only on new violations, and handle what goes wrong: changing hostnames, late renders, forks.
-
Form fields without labels, and why a placeholder is not a label
What axe-core's label rule reports, how to label inputs, selects and textareas properly, and why a placeholder can pass the rule and still fail your users.
-
Accessible names for icon buttons and links (button-name, link-name)
Why axe-core reports button-name and link-name on icon-only controls, four ways to give them an accessible name, and what a scanner cannot tell about the name.
-
Fixing color-contrast violations, and why some need review
What axe-core's color-contrast rule checks, the 4.5:1 and 3:1 ratios and what counts as large text, how to fix failures, and why some results need review.
-
Accessibility checks in Playwright tests, including pages behind a login
Run axe-core inside the Playwright tests you already have, on pages a hosted scanner cannot reach: signed in, on localhost, halfway through a checkout.
-
Adding accessibility checks to a site that already has violations
Turning on axe-core in CI for a site that already exists fails every build. How a committed baseline lets you gate on new violations without fixing everything first.