Closed Bug 1510610 Opened 6 years ago Closed 6 years ago

Lint Error: Accessibility in Custom Views

Categories

(GeckoView :: General, enhancement, P5)

Unspecified
Android
enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: fluffyemily, Assigned: fluffyemily)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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. This issue currently affects: GeckoView.java
This is to ensure that accessibility readers have touch events handled.
Keywords: good-first-bug
OS: Unspecified → Android
Priority: -- → P5
Pushed by etoop@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e351b1ca8fc Override `performClick` for `onTouchEvents`. r=geckoview-reviewers,snorp
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Product: Firefox for Android → GeckoView
Keywords: good-first-bug
Target Milestone: Firefox 66 → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: