Closed Bug 1752380 Opened 2 years ago Closed 2 years ago

Support actions in linkable accessible's indirect actions

Categories

(Core :: Disability Access APIs, defect, P1)

defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(2 files)

Linkable accessibles (text leafs and images) will inherit the action of their closes ancestor with an action. The current way we implement ActionCount etc, makes it hard to distinguish a linkable accessible with an inherited action, or one that is directly associated with it. (eg. <img src="..." onclick="alert('hi')">). We need to do a bit of refactoring to get this right. This will hopefully trim a bunch of duplicate code and make fixing bug 1395181 easy.

When a linkable accessible has an action because of an ancestor, don't
cache it directly, but instead walk up in the parent process to find it.

Depends on D137200

Severity: -- → S3
Priority: -- → P1
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/42f0e1eeda8f
P1: Introduce HasPrimaryAction and remove redundant DoAction/ActionCount implementation. r=morgan
https://hg.mozilla.org/integration/autoland/rev/3404388bdfa1
P2: Don't cache ancestor actions directly. r=morgan
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: