Service Layer medium complexity mobile
2
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

A service that collects and surfaces accessibility compliance status across screens, providing structured output for the CI audit step and developer-facing diagnostics. It aggregates semantic tree snapshots, contrast check results, and touch target measurements during test runs to produce machine-readable compliance reports.

Feature: WCAG 2.2 AA Compliance

accessibility-compliance-reporter

Responsibilities

  • Collect Flutter semantics tree snapshots per screen and serialize them for static analysis
  • Run contrast ratio calculations against the Design Token System palette and flag violations
  • Measure rendered touch target sizes and report elements below the 24x24 CSS pixel threshold
  • Produce JUnit-compatible XML reports consumed by the Accessibility Audit CI step

Interfaces

AccessibilityComplianceReporter.runForScreen(WidgetTester tester) -> ComplianceReport
ComplianceReport.violations -> List<AccessibilityViolation>
ComplianceReport.toJUnitXml() -> String
AccessibilityViolation(rule, element, detail)

Relationships

Dependencies (2)

Components this component depends on

Dependents (1)

Components that depend on this component