Closed Bug 1733513 Opened 3 years ago Closed 3 years ago

Implement IAccessibleText nCharacters, text, textAtOffset and caretOffset for RemoteAccessible

Categories

(Core :: Disability Access APIs, task)

Desktop
Windows
task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This allows for basic text retrieval and char/word/line navigation within a single object on Windows with the cache enabled. IAccessibleHypertext isn't included here, so cross-object text navigation won't be possible yet. Also, even though we implement caretOffset here, we don't cache the caret yet, so this will always report no caret. Nevertheless, with these changes, a simple text field can be navigated with the NVDA review cursor.

  1. Use ia2AccessibleHypertext for RemoteAccessibles that support hypertext.
  2. Allow querying to the IAccessibleText interface for RemoteAccessibles. IAccessibleHypertext, etc. are not yet supported at all, so don't allow querying to those.
  3. Use HyperTextAccessibleBase for methods it supports. For other IAccessibleText methods, return E_NOTIMPL if dealing with a RemoteAccessible.
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb3a6e9abedb Implement IAccessibleText nCharacters, text, textAtOffset and caretOffset for RemoteAccessible. r=morgan
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: