Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/html-aam/roles-contextual.txt
sideshowbarker 68894306e2 LibWeb: Compute default ARIA roles context-sensitively where required
This change implements spec-conformant computation of default ARIA roles
for elements whose expected default role depends on the element’s
context — specifically, either on the element’s ancestry, or on whether
the element has an accessible name, or both. This affects the “aside”,
“footer”, “header”, and “section” elements.

Otherwise, without this change, “aside”, “footer”, “header”, and
“section” elements may unexpectedly end up with the wrong default roles.
2024-12-06 18:31:45 +00:00

24 lines
538 B
Plaintext

Harness status: OK
Found 19 tests
19 Pass
Pass el-a
Pass el-aside
Pass el-aside-in-main
Pass el-aside-in-article-in-main-with-name
Pass el-aside-in-article-with-name
Pass el-aside-in-aside-with-name
Pass el-aside-in-nav-with-name
Pass el-aside-in-nav-with-role
Pass el-aside-in-section-with-name
Pass el-footer-ancestorbody
Pass el-header-ancestorbody
Pass el-section
Pass el-a-no-href
Pass el-aside-in-article-in-main
Pass el-aside-in-article
Pass el-aside-in-aside
Pass el-aside-in-nav
Pass el-aside-in-section
Pass el-section-no-name