FAQ Screen
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Flutter screen presenting a searchable, role-filtered accordion list of frequently asked questions using ExpansionTile widgets. Organized by category with keyword substring search running client-side against cached data; meets WCAG 2.2 AA touch target, contrast, and semantic label requirements throughout.
faq-screen
Sources & reasoning
Primary UI surface mandated by the blueprint. The accordion pattern directly addresses cognitive accessibility requirements for stroke survivors and non-technical users across four organizations. Role-based filtering reduces irrelevant content for Peer Mentors vs Coordinators, keeping cognitive load low.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render FAQ entries in accordion layout grouped by category with expand/collapse per entry
- Filter displayed entries by role (peer_mentor, coordinator, all) and keyword search input
- Load entries from local cache for offline-first access without network dependency
- Apply semantic labels and minimum 24x24 touch targets to all expansion controls per WCAG 2.2 AA
- Show empty state when search returns no results
Interfaces
FAQScreen()
onSearchChanged(String query)
onRoleFilterChanged(String roleFilter)
onEntryExpanded(String entryId)
onRefreshRequested()