mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
7255c6bf8e
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 |
||
---|---|---|
.. | ||
HTMLCanvasAccessible.cpp | ||
HTMLCanvasAccessible.h | ||
HTMLElementAccessibles.cpp | ||
HTMLElementAccessibles.h | ||
HTMLFormControlAccessible.cpp | ||
HTMLFormControlAccessible.h | ||
HTMLImageMapAccessible.cpp | ||
HTMLImageMapAccessible.h | ||
HTMLLinkAccessible.cpp | ||
HTMLLinkAccessible.h | ||
HTMLListAccessible.cpp | ||
HTMLListAccessible.h | ||
HTMLSelectAccessible.cpp | ||
HTMLSelectAccessible.h | ||
HTMLTableAccessible.cpp | ||
HTMLTableAccessible.h | ||
moz.build |