Closed Bug 1510791 Opened 6 years ago Closed 6 years ago

Set isClickable on AccessibilityNodeInfo correctly

Categories

(Core :: Disability Access APIs, enhancement)

All
Android
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

Details

Attachments

(1 file)

We currently set isClickable incorrectly using the SENSITIVE state. We need to use actions for that.

Right now, most of the actions we support with Accessible::DoAction are synonyms for clicks (click,activate,jump,select,check,uncheck,expand,collapse,etc). So we can probably say that something is clickable if has an actionCount greater than 0.

The exception to this case are image accessibles who are not clickable, but have a longdesc action set at index 0.
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d3c0e917ed7
Add action count to BatchData and set isClickable correctly in Android. r=yzen
https://hg.mozilla.org/mozilla-central/rev/1d3c0e917ed7
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: