gecko-dev/accessible/html
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
..
HTMLCanvasAccessible.cpp
HTMLCanvasAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLElementAccessibles.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLElementAccessibles.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLFormControlAccessible.cpp Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
HTMLFormControlAccessible.h Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
HTMLImageMapAccessible.cpp Bug 1694566 - P3: Rename ChildAtPoint to LocalChildAtPoint. r=Jamie 2021-03-03 06:10:01 +00:00
HTMLImageMapAccessible.h Bug 1694566 - P3: Rename ChildAtPoint to LocalChildAtPoint. r=Jamie 2021-03-03 06:10:01 +00:00
HTMLLinkAccessible.cpp Bug 1693607 - [Linux] Add braces around statements. r=morgan 2021-02-19 23:14:32 +00:00
HTMLLinkAccessible.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLListAccessible.cpp Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
HTMLListAccessible.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
HTMLSelectAccessible.cpp Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
HTMLSelectAccessible.h Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
HTMLTableAccessible.cpp Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
HTMLTableAccessible.h Bug 1723614 - P1: Override DOMAttributeChanged where it makes sense. r=Jamie 2021-08-05 23:04:17 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00