Description
Heavy use of GestureDetector instead of semantic widgets like InkWell, TextButton, or IconButton means:
- Tap targets may not meet the minimum 48x48dp touch target size
- Screen readers won't announce these as interactive elements
- No focus handling for keyboard/switch navigation
Affected Files
lib/widgets/group_drawer.dart
lib/widgets/bill_tile.dart
lib/screens/login_screen.dart (back/toggle links)
- Multiple other widgets
Recommended Fix
Replace GestureDetector with InkWell (for visual feedback) or TextButton/IconButton (for semantic button roles). Add Semantics widgets where needed.
Priority
Low — important for inclusivity but not blocking current users.
Description
Heavy use of
GestureDetectorinstead of semantic widgets likeInkWell,TextButton, orIconButtonmeans:Affected Files
lib/widgets/group_drawer.dartlib/widgets/bill_tile.dartlib/screens/login_screen.dart(back/toggle links)Recommended Fix
Replace
GestureDetectorwithInkWell(for visual feedback) orTextButton/IconButton(for semantic button roles). AddSemanticswidgets where needed.Priority
Low — important for inclusivity but not blocking current users.