Accessibility in Custom Views
Accessibility in Custom Views
If a View
that overrides onTouchEvent
or uses an OnTouchListener
does not also implement performClick
and call it when clicks are detected, the View
may not handle accessibility actions properly. Logic handling the click actions should ideally be placed in View#performClick
as some accessibility services invoke performClick
when a click action should occur.
Issue id: ClickableViewAccessibility
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023