Labels: frontend accessibility
Background
src/screens/MedicationScreen.tsx (29 KB) uses fixed font sizes that do not respect the device's accessibility font size setting. Users who rely on large text cannot read medication instructions or dosage information.
What "Done" Looks Like
- Replace all fixed
fontSize values with values from the theme that scale with PixelRatio.getFontScale()
- Cap maximum scaling at 1.5× to prevent layout breakage (document this decision)
- Test at system font size settings: Default, Large, Accessibility Extra Large
- Ensure all text remains readable and no layout overflow at maximum supported scale
Labels:
frontendaccessibilityBackground
src/screens/MedicationScreen.tsx(29 KB) uses fixed font sizes that do not respect the device's accessibility font size setting. Users who rely on large text cannot read medication instructions or dosage information.What "Done" Looks Like
fontSizevalues with values from the theme that scale withPixelRatio.getFontScale()