Infrastructure medium complexity cli
3
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

An automated accessibility audit step integrated into the Flutter CI pipeline that catches WCAG 2.2 AA regressions before merge. It executes Flutter semantics testing APIs, static axe-style checks against the widget tree, and contrast validation, failing the build on any violation so compliance is enforced as a hard gate rather than a post-release concern.

Feature: WCAG 2.2 AA Compliance

accessibility-audit-ci

Responsibilities

  • Run Flutter widget tests that invoke AccessibilityComplianceReporter for every registered screen and fail on reported violations
  • Execute static semantic-tree checks to verify all interactive elements carry required Semantics labels and role annotations
  • Validate contrast ratios for all color token combinations used in production themes
  • Produce a human-readable HTML and machine-readable JUnit XML report uploaded as a CI artifact on every run

Interfaces

flutter test --tags=accessibility (CI entry point)
accessibility_audit.sh (shell wrapper that collects reports and sets exit code)
GitHub Actions step definition: run-accessibility-audit
Artifact upload: accessibility-report.html, accessibility-report.xml