Closed Bug 1765430 Opened 2 years ago Closed 2 years ago

Remove RemoteAccessibleWrap and map accessibles to their IDs in SessionAccessibility.

Categories

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

All
Android
task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(4 files)

This class holds a remote accessible and forwards a subset of the Accessible interface to the inner remote accessible. This class is mostly used to provide a unified way to access accessibles given a virtual view ID and query it, or activate/scroll/focus it.

This class was written before remote and local accessibles shared a sub type. Also the doc tree traversal we currently do to find accessibles given IDs is not thread safe since it requires us to touch DOM.

Summary: Remove Android's RemoteAccessibleWrap class → Remove RemoteAccessibleWrap and map accessibles to their IDs in SessionAccessibility.
Severity: -- → S3
Type: defect → task
OS: Unspecified → Android
Priority: -- → P1
Hardware: Unspecified → All
Blocks: 1765433
Whiteboard: [ctw-m1]

Since remote accessibles won't share AccessibleWrap as a base class
anymore this can't be an instance method. Move it to
SessionAccessibility, the sole consumer.

Note: ToBundle will hopefully get removed entirely once CTW is fully adopted.

This creates a clearer distinction between local pivots and remote
pivots. The former happens in the parent process and the latter happens
in the remote content process.

Depends on D144481

Depends on D144482

Blocks: 1766147
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30c05f76d21e
P1: Move ToBundle to SessionAccessibility. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/e8161b463a3b
P2: Manage Android accessible/id mappings in SessionAccessibility. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/47bbf5bd9315
P3: Refactor Android Pivot methods. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/72e27e3813d3
P4: Remove RemoteAccessibleWrap. r=Jamie
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3ccf931409c
P1: Move ToBundle to SessionAccessibility. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/1ba217a53315
P2: Manage Android accessible/id mappings in SessionAccessibility. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/f48c1dfa6db9
P3: Refactor Android Pivot methods. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/0faa4b705faa
P4: Remove RemoteAccessibleWrap. r=Jamie
Flags: needinfo?(eitan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: