Bug 1843832: Never return the text leaf child of a link when calling IAccessible...
commit92e74db1064eb365c5c35e1b21b4e797fd502748
authorJames Teh <jteh@mozilla.com>
Thu, 5 Oct 2023 04:12:28 +0000 (5 04:12 +0000)
committerJames Teh <jteh@mozilla.com>
Thu, 5 Oct 2023 04:12:28 +0000 (5 04:12 +0000)
tree30b7ff363ad71f932ac6044c67bec8ee387fc243
parentab881cf89b567a2a5359ff390e7545a9e2f065c3
Bug 1843832: Never return the text leaf child of a link when calling IAccessible::accHitTest on an ancestor of the link. r=nlapre

This is necessary to work around a bug in the Windows UI Automation -> IAccessible2 proxy.
See the code comments for details.

Differential Revision: https://phabricator.services.mozilla.com/D187529
accessible/tests/browser/windows/a11y_setup.py
accessible/tests/browser/windows/uia/browser.toml
accessible/tests/browser/windows/uia/browser_elementFromPoint.js [new file with mode: 0644]
accessible/windows/msaa/MsaaAccessible.cpp