Enable Cognitive Accessibility Mode
Users can toggle cognitive accessibility mode on or off through the settings screen. When enabled, CognitiveModeService exposes a simplified layout flag that all screen generators consume to conditionally hide metadata panels, secondary action buttons, decorative elements, and non-essential UI. The preference is stored in AccessibilityPreferencesRepository and applied immediately upon toggle. The mode must be validated against a stroke patient persona checklist before release.
User Story
Acceptance Criteria
- Given a user is on the Settings screen, when they locate the Accessibility section and toggle Cognitive Mode on, then the app immediately re-renders visible screens in simplified layout without requiring a restart
- Given cognitive mode is enabled, when the user navigates to any screen, then secondary actions, metadata panels, and decorative elements are hidden and only primary actions are visible
- Given cognitive mode is enabled, when the user closes and reopens the app, then cognitive mode remains active and the simplified layout persists across sessions
- Given cognitive mode is disabled, when the user views any screen, then all standard UI elements including secondary actions and metadata are visible as normal
- Given any screen in cognitive mode, when the screen is rendered, then no more than one primary decision is presented at a time per screen
Business Value
NHF explicitly identified stroke survivors and people with cognitive impairments as a primary user group. Poor cognitive accessibility leads directly to underreporting — the core pain point across all three organizations. This story unlocks the entire cognitive accessibility design layer, making the app usable for users who would otherwise abandon activity registration due to interface complexity.
Components
- Cognitive Mode Service service
- Accessibility Preferences Repository data
- Settings Screen ui
- Settings Card Widget ui
- Preferences Service service