fune/accessible/tests
Nathan LaPre dbe5ffd60b Bug 1778795: role="form" with empty accessible name returns native role, r=Jamie
The ARIA spec requires that, for certain landmark roles with no author-specified
names, user agents must treat such elements as if no role had been provided.
This revision accomplishes that task by carving out an exception in
ARIATransformRole and ComputeARIARole for roles::FORM, similar to the existing
carveout for roles::REGION. This revision also implements a NameIsEmpty function
which is helpful for checking name emptiness (since we do this in a few places)
without leaving a "name" variable on the stack. Finally, this revision updates a
expected WPT failure (by removing it).

Differential Revision: https://phabricator.services.mozilla.com/D202778
2024-02-29 00:33:10 +00:00
..
browser Bug 1778795: role="form" with empty accessible name returns native role, r=Jamie 2024-02-29 00:33:10 +00:00
crashtests Bug 1879538 - cleanup unnecessary and redundant reftest conditions. r=aryx,jgilbert 2024-02-22 23:04:45 +00:00
mochitest Bug 1778795: role="form" with empty accessible name returns native role, r=Jamie 2024-02-29 00:33:10 +00:00