Closed Bug 1624729 Opened 4 years ago Closed 4 years ago

Introduce Mac platform mochitests

Categories

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

All
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

We can easily emulate most of the OSX a11y platform interface that assistive applications like VoiceOver consume, since there is almost a 1:1 mapping between the assistive application side (AXUIElement) and the accessible applications (the NSAccessibility protocol).

If we exposed a getter on nsIAccessible for a "native interface" we can then return an xpcom wrapper that would behave similar to what assistive applications consume via AXUIElement and friends.

For events we can use the standard nsIObserverService setup that is already in place.

This will give us good coverage as we continue to work on Mac accessibility.

Assignee: nobody → eitan
Priority: -- → P1

Wow! 🔥🔥🔥👍👍👍

Blocks: 1625316
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba8cb71cfd2a
Add a nativeInterface attribute to nsIAccessible. r=yzen
https://hg.mozilla.org/integration/autoland/rev/803031c78559
Introduce nsIAccessibleMacInterface as mac native xpc interface. r=yzen,morgan
https://hg.mozilla.org/integration/autoland/rev/f69bdf3e680d
Implement attributes and actions getters in xpcAccessibleMacInterface. r=morgan
https://hg.mozilla.org/integration/autoland/rev/90ba4ae9b6e3
Map NSAccessible properties and action methods to attributes and action lists. r=morgan
https://hg.mozilla.org/integration/autoland/rev/e3acda3bdc90
Refactor event firing and encapsulate it in mozAccessible. r=morgan
https://hg.mozilla.org/integration/autoland/rev/6edd2e43a3e7
Notify observer service of mac accessibility events. r=morgan,yzen
https://hg.mozilla.org/integration/autoland/rev/9e9dc45a48cd
Introduce some initial mac mochitests. r=morgan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: