The visit · §5.12
Test tracker
Tests as a process (ordered, collected, in the lab, back), never as results.
Code
<TestTracker groups={groups} lang={lang} now={now} t={t} timezone={site.timezone} />Accessibility
- Each test's micro-stepper is labelled for screen readers ("Blood test: in the lab").
- "Back" is announced as neutral information, never as good news.
Usage
Do
- Group by category with "3 of 5 back".
- Say "Additional test" for sensitive tests.
Don't
- Never show values, flags or interpretation.
- Never a success check for "Back".
Platforms
- Web
- apps/web/components/edflow/test-tracker.tsx
- iOS
- SwiftUI List rows with a custom stepper
- Android
- Compose LazyColumn rows with a custom stepper