fune/accessible/base
James Teh f133cff3c3 Bug 1806486: If we're forced to create an Accessible for a MathML element which wouldn't normally have one, make it a HyperTextAccessible. r=nlapre
Certain MathML elements such as annotation and annotation-xml don't normally get an Accessible.
However, we force create Accessibles in some cases; e.g. if the element is focusable.
When this happens for these MathML elements (e.g. annotation-xml with a tabindex), we previously created AccessibleWraps which don't support text.
This meant that text formatting information was unavailable and caused assertions when pushing the cache.
To fix this, use HyperTextAccessibleWrap instead.

As a drive-by fix, also use HyperTextAccessibleWrap instead of HyperTextAccessible for content MathML elements.
This was almost certainly a typo when this was implemented.
This wouldn't have been noticeable in tests and some native platforms, but some platforms (e.g. Mac and Windows) do have some overrides in HyperTextAccessibleWrap, so we should use those.

Differential Revision: https://phabricator.services.mozilla.com/D165252
2022-12-21 21:21:11 +00:00
..
AccAttributes.cpp Bug 1804991: Issue a warning if we attempt to stringify an empty array, but don't crash r=nlapre 2022-12-09 23:56:58 +00:00
AccAttributes.h Bug 1802268 part 1: Add AccAttributes::GetMutableAttribute. r=eeejay,nlapre 2022-12-05 23:27:23 +00:00
AccEvent.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
AccEvent.h Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
AccGroupInfo.cpp Bug 1769688 - Add a memory reporter for the a11y cache r=Jamie 2022-11-09 06:29:42 +00:00
AccGroupInfo.h Bug 1769688 - Add a memory reporter for the a11y cache r=Jamie 2022-11-09 06:29:42 +00:00
AccIterator.cpp Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
AccIterator.h Bug 1796733 part 8: Expose the implicit selected state on cached remote ARIA items when appropriate. r=morgan 2022-11-10 04:19:29 +00:00
AccTypes.h Bug 1766147: Remove now unused eProxyType, Accessible::IsProxy and LocalAccessible::mBits. r=morgan 2022-11-22 04:17:41 +00:00
ARIAMap.cpp Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
ARIAMap.h Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
ARIAStateMap.cpp Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
ARIAStateMap.h
Asserts.cpp
CacheConstants.h Bug 1803814: Remove Maybe wrapper from RelationData's mReverseType member r=Jamie 2022-12-05 23:42:52 +00:00
CachedTableAccessible.cpp
CachedTableAccessible.h
DocManager.cpp
DocManager.h
EmbeddedObjCollector.cpp Bug 1766147: Remove now unused eProxyType, Accessible::IsProxy and LocalAccessible::mBits. r=morgan 2022-11-22 04:17:41 +00:00
EmbeddedObjCollector.h
EventQueue.cpp Bug 1800755: Don't send selection changes for defunct Accessibles. r=morgan 2022-11-22 02:24:28 +00:00
EventQueue.h
EventTree.cpp Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
EventTree.h Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
Filters.cpp
Filters.h
FocusManager.cpp Bug 1802040: Track the focused DocAccessibleParent on Android. r=eeejay 2022-12-07 13:42:30 +00:00
FocusManager.h Bug 1802040: Track the focused DocAccessibleParent on Android. r=eeejay 2022-12-07 13:42:30 +00:00
HTMLMarkupMap.h Bug 1778433 part 2: Change references to defunct *AccessibleWrap types to use the corresponding *Accessible classes. r=nlapre 2022-11-22 04:55:11 +00:00
IDSet.h
Logging.cpp Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
Logging.h Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
MathMLMarkupMap.h Bug 1802240: Use generic ARIA grid cell accessible for mtd elements without table style, r=Jamie 2022-12-06 20:41:44 +00:00
moz.build
NotificationController.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
NotificationController.h Bug 1794319: Remove a11y::EventTree, as it has been dead code for 6 years. r=eeejay 2022-10-11 01:41:42 +00:00
nsAccCache.h
nsAccessibilityService.cpp Bug 1806486: If we're forced to create an Accessible for a MathML element which wouldn't normally have one, make it a HyperTextAccessible. r=nlapre 2022-12-21 21:21:11 +00:00
nsAccessibilityService.h Bug 1748585: Remove img elements with alt="" from the a11y tree, r=Jamie 2022-11-09 20:05:01 +00:00
nsAccessiblePivot.cpp Bug 1798614: Assume a default of 1.0 for Accessible::Opacity unless otherwise explicitly specified. r=morgan,eeejay 2022-11-10 04:19:29 +00:00
nsAccessiblePivot.h
nsAccUtils.cpp Bug 1801879: Don't cross document boundaries in nsAccUtils::GetSelectableContainer. r=eeejay,geckoview-reviewers,owlish 2022-11-29 05:18:23 +00:00
nsAccUtils.h Bug 1796733 part 5: Add an overload of nsAccUtils::NormalizeARIAToken which takes an Element. r=avandolder 2022-11-10 04:19:27 +00:00
nsCoreUtils.cpp Bug 1801094 - Clean-up a bit WhereToScroll. r=layout-reviewers,credential-management-reviewers,sgalich,dshin 2022-11-18 10:02:23 +00:00
nsCoreUtils.h Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
nsEventShell.cpp
nsEventShell.h
nsTextEquivUtils.cpp
nsTextEquivUtils.h
Pivot.cpp Bug 1801986 - Set pivot root to top remote document. r=Jamie 2022-11-29 20:31:21 +00:00
Pivot.h Bug 1795221: Implement LINKS_TO relation as a tree traversal r=Jamie 2022-10-27 20:32:18 +00:00
Platform.h Bug 1794634 - Stop using ARIARoleAtom sync message and remove it. r=morgan 2022-10-12 22:08:33 +00:00
Relation.h
RelationType.h
RelationTypeMap.h Bug 1800048: Don't expose the LINKS_TO relation via ATK and IA2. r=morgan 2022-11-15 06:46:24 +00:00
Role.h Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
RoleMap.h Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
SelectionManager.cpp Bug 1796733 part 1: Rename FocusManager::FocusedAccessible to FocusedLocalAccessible. r=morgan 2022-11-10 04:19:26 +00:00
SelectionManager.h
States.h Bug 1765217: Move OPAQUE1 state calculation into Accessible::ApplyImplicitState. r=morgan 2022-11-10 04:19:29 +00:00
Statistics.h
StyleInfo.cpp Bug 1802799 - [refactor] Migrate NS_STYLE_TEXT_DECORATION_STYLE_* defines r=emilio,geckoview-reviewers,ohall 2022-12-19 22:47:24 +00:00
StyleInfo.h Bug 1802799 - [refactor] Migrate NS_STYLE_TEXT_DECORATION_STYLE_* defines r=emilio,geckoview-reviewers,ohall 2022-12-19 22:47:24 +00:00
TextAttrs.cpp Bug 1800181: Atomize font family and language a11y text attributes. r=morgan 2022-11-18 22:03:56 +00:00
TextAttrs.h Bug 1802799 - [refactor] Migrate NS_STYLE_TEXT_DECORATION_STYLE_* defines r=emilio,geckoview-reviewers,ohall 2022-12-19 22:47:24 +00:00
TextLeafRange.cpp Bug 1793408: Consistently treat OuterDocAccessibles as a single character in TextLeafPoint. r=morgan 2022-10-06 23:47:50 +00:00
TextLeafRange.h
TextRange-inl.h
TextRange.cpp
TextRange.h
TextUpdater.cpp Bug 1802268 part 2: Reinstate partial invalidation of cached HyperText offsets for local HyperTextAccessible. r=eeejay 2022-12-05 23:27:24 +00:00
TextUpdater.h
TreeWalker.cpp
TreeWalker.h
XULMap.h Bug 1778433 part 2: Change references to defunct *AccessibleWrap types to use the corresponding *Accessible classes. r=nlapre 2022-11-22 04:55:11 +00:00