Non-accessible Interaction
Interactive elements in Android apps must be operable through assistive technology gestures, not just direct touch.
WCAG Reference
Maps to: WCAG 4.1.2 Name, Role, Value | Applies to: WCAG 2.0, WCAG 2.1, WCAG 2.2 Introduced in: WCAG 2.0 | Level: A | Read the official specification →
What this rule checks
The scanner identifies elements that respond to touch events but are not reachable or activatable through TalkBack gestures (double-tap to activate, swipe to navigate).
Why it matters
TalkBack users interact with the screen through gestures: swiping to move focus and double-tapping to activate. If an element responds only to direct touch coordinates, TalkBack users cannot use it.
Common failure patterns
- custom views that intercept
onTouchEventwithout implementing accessibility actions - gesture-based interactions (long press, swipe) with no accessibility alternative
- views that use
OnTouchListenerwithout a correspondingOnClickListener - canvas-drawn interactive elements with no accessibility node info
Remediation guidance
- implement
OnClickListeneralongside any touch listeners - add
AccessibilityActionentries for custom gestures (long press, swipe) - for canvas-drawn elements, create virtual child accessibility nodes using
ExploreByTouchHelper - test with TalkBack to confirm every interactive element can be reached by swiping and activated by double-tapping
