Navigation Accessibility Audit Integration in CI Pipeline
Accessibility compliance for navigation elements (bottom nav, back buttons, modals, scroll containers) must be validated automatically. The accessibility audit runner should execute Flutter's built-in semantics checks and custom navigation-specific rules on every CI build. The checks must cover: missing semantic labels on navigation controls, touch targets below 44×44pt, modal focus trapping failures, and live region announcements. Failures must block the release pipeline with a clear report identifying which widget failed and on which screen.
User Story
Acceptance Criteria
- Given a CI build is triggered, when the accessibility audit runner executes, then it checks all navigation-related widgets for missing semantic labels and reports results
- Given a developer introduces a navigation widget with a touch target below 44×44pt, when the CI build runs, then the audit fails with an error message identifying the widget, screen, and required minimum size
- Given a modal is added without a close button or focus-trap semantics, when the CI build runs, then the lint check flags the missing accessibility pattern
- Given all accessibility checks pass, when the build pipeline completes, then an accessibility compliance report is generated and stored as a build artifact
- Given an accessibility regression is detected in a PR, when the developer views the CI output, then the failure message includes a direct reference to the WCAG 2.2 AA criterion violated and a suggested fix
Business Value
All three organizations require WCAG 2.2 AA compliance as a non-negotiable requirement. Manual accessibility testing is error-prone and does not scale as the app grows. Automated CI validation ensures that navigation accessibility is maintained across all future development, protects against regressions during feature development, and provides documented evidence of compliance for organizational accountability and potential regulatory requirements related to public-benefit organizations receiving Bufdir funding.
Components
- Accessibility Audit Runner infrastructure
- CI Accessibility Lint Runner infrastructure
- Flutter Accessibility Lint Configuration infrastructure
- Accessibility Test Harness infrastructure
- WCAG 2.2 AA Compliance Checker infrastructure