playwright/tests/assets/axe-core
Dmitry Gozman c3e72be849 fix(role): explicitly hidden aria-labelledby should be recursively traversed
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.
2024-04-17 09:48:39 -07:00
..
accessible-text.js fix(role): explicitly hidden aria-labelledby should be recursively traversed 2024-04-17 09:48:39 -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