Closed Bug 1841941 Opened 1 year ago Closed 1 year ago

Use CreateStdAccessibleObject instead of AccessibleObjectFromWindow

Categories

(Core :: Disability Access APIs, task)

Desktop
Windows
task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

In several places, we use AccessibleObjectFromWindow to get a system generated IAccessible for the window. While this works well enough, it sends WM_GETOBJECT to our window, goes through our window proc, etc., which is pointless. We should just call CreateStdAccessibleObject directly instead, which is what the existing code ends up doing indirectly.

We use AccessibleObjectFromWindow to get a system generated IAccessible for the window.
While this works well enough, it first sends WM_GETOBJECT to our window, goes through our window proc, etc., which is pointless since it will return nothing.
We should just call CreateStdAccessibleObject directly instead, which is what the existing code ends up doing indirectly.

Blocks: 1800028
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/799309422d5f Use CreateStdAccessibleObject instead of AccessibleObjectFromWindow when getting the window IAccessible. r=nlapre
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: