gecko-dev/accessible/generic
Eitan Isaacson 7255c6bf8e Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie
Changed the browser and mochitest name tests to rely exclusively on name change
events. To make this happen, I fixed all the cases where we were
event-deficient in the code:

* Examine target in PushNameOrDescriptionChange if it has eNameFromSubtreeRule.
  Fixes cases where a text change event happens with the subtree name root as target.
* Change in aria-labelledby should always result in a name change event because
  that attribute has highest prescedence.
* Add eHasNameDependent/eHasDescriptionDependent context flags when dependee accessible
  is added after dependent accessible to tree.
* Handle value attribute change in HTML buttons and determine if they should trigger a
  name changed event.
* Use accessible tree instead of content tree when calculating HTMLSelectOptionAccessible
  name, this keeps the PushNameOrDescriptionChange sees in name flags consistent with
  the actual tree.
* Handle label attribute change in select options and determine if they should trigger
  a name changed event.
* Determine if s summary attribute change on a table triggers a name change event.
* If a title attribute is changed, reliably fire a name change event if
  it is used in name calculation.

Differential Revision: https://phabricator.services.mozilla.com/D121580
2021-08-05 23:04:17 +00:00
..
ARIAGridAccessible-inl.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
ARIAGridAccessible.cpp Bug 1714390 - P6: Make more attribute keys static atoms. r=Jamie 2021-06-10 23:07:07 +00:00
ARIAGridAccessible.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
ApplicationAccessible.cpp Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
ApplicationAccessible.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
BaseAccessibles.cpp Bug 1694566 - P3: Rename ChildAtPoint to LocalChildAtPoint. r=Jamie 2021-03-03 06:10:01 +00:00
BaseAccessibles.h Bug 1694566 - P3: Rename ChildAtPoint to LocalChildAtPoint. r=Jamie 2021-03-03 06:10:01 +00:00
DocAccessible-inl.h Bug 1693306 - Simplify some uses of LookupOrInsertWith by GetOrInsertNew. r=xpcom-reviewers,necko-reviewers,dragana,nika 2021-02-26 09:22:54 +00:00
DocAccessible.cpp Bug 1722396 - P3: Compare old state bits with new ones to determine state change events. r=morgan 2021-08-04 21:31:19 +00:00
DocAccessible.h Bug 1722396 - P2: Move AttributeChangedImpl into LocalAccessible::DOMAttributeChanged. r=morgan 2021-08-04 21:31:19 +00:00
FormControlAccessible.cpp
FormControlAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HyperTextAccessible-inl.h Bug 1713758 - Make everyone outside editor module use `EditorBase` instead of `TextEditor` if the instance can be an `HTMLEditor` instance r=m_kato 2021-06-09 23:51:37 +00:00
HyperTextAccessible.cpp Bug 1722621: Fix detection of autocomplete popups in XULListboxAccessible after recent DOM changes. r=morgan 2021-07-30 18:03:04 +00:00
HyperTextAccessible.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
ImageAccessible.cpp Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
ImageAccessible.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
LocalAccessible-inl.h Bug 1694865 part 9: Make MsaaAccessible::LocalAcc return null if defunct. r=morgan 2021-04-30 12:21:41 +00:00
LocalAccessible.cpp Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
LocalAccessible.h Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
OuterDocAccessible.cpp Bug 1721666: Clear the embedder accessible on PBrowserBridge if that accessible is destroyed. r=eeejay 2021-07-28 23:42:12 +00:00
OuterDocAccessible.h Bug 1715230 part 2: Stop using RemoteIframeDocRemoteAccessibleWrap. r=morgan 2021-07-19 03:44:10 +00:00
RootAccessible.cpp Bug 1699053: Ensure popup custom DOM events cause content insertion/removal on XUL panels. r=Jamie 2021-04-07 13:48:27 +00:00
RootAccessible.h Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
TableAccessible.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TableAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TableCellAccessible.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
TableCellAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TextLeafAccessible.cpp
TextLeafAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
moz.build Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00