CRITICAL story-visual-design-accessibility-peer-mentor-001 8 pts
8
Story Points
Critical
Priority
Visual Design Accessibility
Feature

User Story

As a Peer Mentor (Likeperson)
I want all text, buttons, and interactive controls to meet WCAG 2.2 AA contrast requirements (4.5:1 for normal text, 3:1 for large text and UI components)
So that I can comfortably read and interact with the app even if I have low vision, are in bright sunlight, or have age-related vision decline

Acceptance Criteria

  • Given a peer mentor views any screen in the app, when they look at body text on any background color, then the contrast ratio is at least 4.5:1 as defined by WCAG 2.2 AA
  • Given a peer mentor sees a button or interactive control, when the control label or icon is rendered, then the contrast ratio against its background is at least 3:1
  • Given the CI pipeline runs a build, when accessibility lint is executed by ci-accessibility-lint-runner, then any token combination failing the contrast threshold causes the build to fail
  • Given an organization applies custom branding colors via the theme-builder, when the resulting color tokens are validated by contrast-ratio-validator, then only compliant combinations are permitted to be applied to the live UI
  • Given a peer mentor uses the app outdoors in bright light conditions, when viewing the activity registration form, then all field labels and action buttons remain clearly legible without straining

Business Value

Approximately 300,000 Norwegians have some degree of vision impairment. For organizations like Blindeforbundet and NHF, whose members include people with significant vision loss, an app that fails contrast standards is effectively unusable for a large portion of the intended audience. Failing WCAG 2.2 AA also creates legal exposure under Norwegian anti-discrimination law (Diskriminerings- og tilgjengelighetsloven). Contrast enforcement built into the design token system prevents regressions as the app evolves, protecting all future feature development at zero marginal cost.