Shift-Left Accessibility Automation

This guide focuses on preventing accessibility issues from entering commits in the first place.

Core principle

Catch issues as early as possible:

  1. In-editor and local linting
  2. Pre-commit checks
  3. Pull request CI gates
  4. Scheduled full-site scans

1) Local developer checks

Minimum local checks before commit:

Run accessibility checks only on changed files to keep feedback fast.

Typical approach:

3) PR gate in CI

4) Scheduled depth scans

Policy model to encourage adoption

Suggested Definition of Done addition

No UI-impacting commit is accepted unless local/pre-commit accessibility checks pass and PR CI accessibility checks are green.

References