gecko-dev/accessible/generic
James Teh de58806e45 Bug 1870783 part 5: Expose DETAILS and DETAILS_FOR relations for popovers and their invokers. r=eeejay
Even when there is a valid popovertarget, per the spec, these relations must not be exposed in certain cases.
This requires some special case code.
The code for calculating the DETAILS relation for popover invokers has been encapsulated in its own function.
We also use this to validate the reverse DETAILS_FOR relation on popovers.

Normally, when pushing cached relations to the parent process, we use IDRefsIterator so that we don't push implicit reverse relations.
For popover invokers, this wouldn't validate the other conditions.
To avoid duplicate special case code in RemoteAccessible, we use RelationByType for the DETAILS relation instead of IDRefsIterator when pushing the cache.
This leverages the LocalAccessible special case code for popover invokers.
This is fine for the DETAILS relation because nothing ever exposes an implicit reverse DETAILS relation.

Differential Revision: https://phabricator.services.mozilla.com/D199954
2024-02-12 06:24:16 +00:00
..
ARIAGridAccessible.cpp Bug 1845883: Remove HyperTextAccessibleWrap. r=nlapre 2023-08-02 01:42:17 +00:00
ARIAGridAccessible.h Bug 1845883: Remove HyperTextAccessibleWrap. r=nlapre 2023-08-02 01:42:17 +00:00
ApplicationAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
ApplicationAccessible.h Bug 1234121: Unify FocusedChild() in Accessible base class r=Jamie 2022-08-19 02:42:30 +00:00
BaseAccessibles.cpp Bug 1840732 Part 3: Remove unnecessary includes from accessible/generic, r=Jamie 2023-07-07 03:22:07 +00:00
BaseAccessibles.h Bug 1845883: Remove HyperTextAccessibleWrap. r=nlapre 2023-08-02 01:42:17 +00:00
DocAccessible-inl.h Bug 1845226 - Fix non-unified macOS build due to link error about missing IsDefunct() function definition. r=eeejay 2023-07-27 15:02:25 +00:00
DocAccessible.cpp Bug 1870783 part 4: Fire state change events on all popover invokers. r=eeejay 2024-02-12 06:24:15 +00:00
DocAccessible.h Bug 1870783 part 4: Fire state change events on all popover invokers. r=eeejay 2024-02-12 06:24:15 +00:00
FormControlAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
FormControlAccessible.h Bug 1752380 - P1: Introduce HasPrimaryAction and remove redundant DoAction/ActionCount implementation. r=morgan 2022-02-15 23:20:11 +00:00
HyperTextAccessible-inl.h Bug 1816581 - part 1: Make `CaretAssociationHint` an enum class r=emilio 2023-12-27 04:42:09 +00:00
HyperTextAccessible.cpp Bug 1878191 - Fix 2 iterating loops of selection ranges r=smaug,Jamie 2024-02-07 04:34:38 +00:00
HyperTextAccessible.h Bug 1372296: Unify ScrollSubstringToPoint for local and remote Accessibles, thus enabling support for RemoteAccessible on Windows. r=eeejay 2023-08-08 05:18:55 +00:00
ImageAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
ImageAccessible.h Bug 1748749 - P2: Cache has long desc. r=Jamie 2022-01-31 23:10:51 +00:00
LocalAccessible-inl.h Bug 1870783 part 1: Expose a minimum role of GROUPING for popovers. r=eeejay 2024-02-12 06:24:14 +00:00
LocalAccessible.cpp Bug 1870783 part 5: Expose DETAILS and DETAILS_FOR relations for popovers and their invokers. r=eeejay 2024-02-12 06:24:16 +00:00
LocalAccessible.h Bug 1870783 part 5: Expose DETAILS and DETAILS_FOR relations for popovers and their invokers. r=eeejay 2024-02-12 06:24:16 +00:00
OuterDocAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
OuterDocAccessible.h Bug 1792120: Use the cached offset from GetUsedBorderAndPadding for all OuterDocAccessibles, not just OOP iframes. r=morgan 2022-12-17 02:09:12 +00:00
RootAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
RootAccessible.h Bug 1797863 - add class documentation for accessibility tree nodes. r=morgan 2022-11-15 02:49:44 +00:00
TextLeafAccessible.cpp Bug 1844238 part 1: Change includes of Role.h to mozilla/a11y/Role.h. r=eeejay 2023-07-26 02:19:41 +00:00
TextLeafAccessible.h
moz.build Bug 1831035 part 5: Remove the (now empty) platform specific DocAccessibleChild classes and rename DocAccessibleChildBase to DocAccessibleChild. r=eeejay 2023-06-26 21:20:13 +00:00