Closed Bug 1690342 Opened 5 years ago Closed 5 years ago

Support attributed text

Categories

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

All
macOS
defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [mac2020_2])

Attachments

(5 files)

VoiceOver uses attributed text for rich text editing. Most notibly, when it encounters a link in editable text. This will allow us to distinguich between a single line AXTextField and a multiline AXTextArea.

It looks like we need to do this often. Adding it to the protocol/base class allows
us to not have to worry each time about typing and traversing past MOX accessibles.

A followup patch will make this work in e10s. This current implementation is non-ipc.

Depends on D103799

Created DocAccessibleTypes.ipdlh to put common types so they can be used in platform
extension protocols.

Depends on D103800

Now that we have attribtued text we don't need to advertise rich text editables as AXTextField.

Depends on D103802

Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a9821d6e150 P1: Introduce moxAncestorSearch for finding ancestors. r=morgan DONTBUILD https://hg.mozilla.org/integration/autoland/rev/ac8efb513d16 P2: Populate NSAttributedText attributes with attributes. r=morgan DONTBUILD https://hg.mozilla.org/integration/autoland/rev/e04c1e3f0786 P3: Add protocol stubs for mac attributed text. r=Jamie,mccr8,ipc-reviewers DONTBUILD https://hg.mozilla.org/integration/autoland/rev/91082f1e1e90 P4: Implement IPC attributed text getter. r=morgan DONTBUILD https://hg.mozilla.org/integration/autoland/rev/ea874305c187 P5: Use AXTextArea for multiline aria text boxes. r=morgan DONTBUILD
Regressions: 1691831
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: