[CTW] Unify EMBEDS and CONTAINING_TAB_PANE relations for RemoteAccessible
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: Jamie, Assigned: morgan)
References
Details
(Whiteboard: [ctw-m3])
Attachments
(3 files)
Right now, we have platform specific code to special case these relations where remote documents are involved. Aside from being ugly, the handling of NAVRELATION_CONTAINING_TAB_PANE on Windows is specific to the COM implementation and doesn't work when the cache is enabled. The Windows special cases also only expose these relations via our non-standard accNavigate constants; they can't be retrieved using IA2.
We should:
- Add code to RootAccessible::RelationByType to return a RemoteAccessible for RelationType::EMBEDS if a remote tab is active.
- Add code to RemoteAccessible::RelationByType to handle RelationType::CONTAINING_TAB_PANE.
- Remove/update the special case platform code linked above to benefit from these shiny new unified relations.
A practical impact of this change is that live region updates in background tabs will no longer be announced by NVDA. Currently, they are, which shouldn't happen and doesn't happen with the cache disabled.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D153795
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D153796
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Interestingly, I just learned that off-screen live regions are broken in OOP iframes with the cache disabled using NVDA. This patch should fix that with the cache, since NVDA depends on accNavigate NAVRELATION_EMBEDS which this patch fully supports.
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6509c8b53ece
https://hg.mozilla.org/mozilla-central/rev/03f033ec9350
https://hg.mozilla.org/mozilla-central/rev/54b4e28a8c2a
Description
•