mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00

This revision changes the logic for creation and updating of accessibles corresponding to elements that produce image accessibles, such that alt="" (without click listeners or any other aria attributes that force an accessible) will effectively remove that element's accessible from the accessibility tree. Next, this revision removes the concept of eNoNameOnPurpose from accessible name handling, since it's now unnecessary now that alt="" means "don't create an accessible" in most cases. This revision also adds tests to verify the functionality and updates existing tests. Differential Revision: https://phabricator.services.mozilla.com/D160706