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

Description

Runtime and development-time accessibility auditing service that scans rendered screens for WCAG 2.2 AA violations. Detects missing labels, insufficient contrast, undersized touch targets, missing keyboard alternatives, and reports issues during development and QA cycles.

Feature: WCAG 2.2 AA Compliance

a11y-audit-service

Sources & reasoning

Section 1.2 mandates WCAG 2.2 AA from day one with explicit requirements (contrast, target size, keyboard nav, drag alternatives). The priority matrix in §4 confirms MUST HAVE / Fase 1 for all five tenants. Phase 1 in §5 maps to the MVP phase name.

  • Alle fire organisasjoner har brukere med svært ulike forutsetninger... Appen SKAL oppfylle WCAG 2.2 nivå AA som minimumskrav for alle skjermer og interaksjoner - fra dag én, for alle organisasjoner.
  • Universell utforming / tilgjengelighet (WCAG 2.2 AA) | ✓ | ✓ | ✓ | ✓ | ✓ | MUST HAVE | 1

Responsibilities

  • Scan rendered component trees for missing accessibility labels and ARIA attributes
  • Validate contrast ratios against WCAG 2.2 AA thresholds (4.5:1 text, 3:1 UI)
  • Measure touch target sizes and flag elements below 24x24 CSS pixels
  • Detect drag-and-drop interactions lacking single-pointer alternatives
  • Generate audit reports with severity, location, and remediation guidance

Interfaces

auditScreen(screenRef): AuditReport
checkContrast(foreground, background): ContrastResult
validateTouchTargets(element): ValidationResult[]
generateReport(violations): AuditReport