Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create dir-role.tentative.html #45553

Merged
merged 5 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions html-aam/dir-role.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<title>HTML-AAM dir Element Role Verification Test</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<script src="/wai-aria/scripts/aria-utils.js"></script>
</head>
<body>


<p>Tentative test for the expected role mappings of the obsolete <code>dir</code> element.
The computedrole mappings are defined in <a href="https://w3c.github.io/html-aam/">HTML-AAM</a>.<p>

<p>Merge the outcome of this test into roles.html in the appropriate alphabetical order, when it is no longer considered tentative:</p>

<dir data-testname="el-dir" data-expectedrole="list" class="ex"><li>x</li><li>x</li></dir>
cookiecrook marked this conversation as resolved.
Show resolved Hide resolved


<script>
AriaUtils.verifyRolesBySelector(".ex");
</script>

</body>
</html>
1 change: 1 addition & 0 deletions html-aam/roles.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<del data-testname="el-del" data-expectedrole="deletion" class="ex">x</del>
<details data-testname="el-details" data-expectedrole="group" class="ex"><summary>x</summary>x</details>
<dfn data-testname="el-dfn" data-expectedrole="term" class="ex">x</dfn>
<!-- dir -> ./dir-role.tentative.html -->
<!-- div -> ./roles-generic.html -->
<!-- todo: dl -->

Expand Down