playwright/tests/assets/axe-core
Dmitry Gozman b72e3a3eba
fix(role): explicitly hidden aria-labelledby should be recursively traversed (#30402)
The accessible name computation spec has changed to explicitly mention
this case:

Step 2A. Hidden Not Referenced. If the current node is hidden and is:
- Not part of an aria-labelledby or aria-describedby traversal, where
the node directly referenced by that relation was hidden.
- Nor part of a native host language text alternative element (e.g.
label in HTML) or attribute traversal, where the root of that traversal
was hidden.

See https://w3c.github.io/accname/#computation-steps. Chromium, Firefox
and Safari all agree with the spec.

Fixes #29796.
2024-04-17 11:22:09 -07:00
..
accessible-text.js fix(role): explicitly hidden aria-labelledby should be recursively traversed (#30402) 2024-04-17 11:22:09 -07:00
implicit-role.js test(role): add tests for implicit role calculation (#13132) 2022-03-28 15:22:50 -07:00
LICENSE test(role): add tests for implicit role calculation (#13132) 2022-03-28 15:22:50 -07:00
README.md chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00

Tests derived from axe-core test suite: https://github.com/dequelabs/axe-core/tree/develop/test.

Includes:

  • LICENSE

Modified:

  • implicit-role.js contains test cases extracted from /test/commons/aria/implicit-role.js
  • accessible-text.js contains test cases extracted from /test/commons/aria/accessible-text.js