blob: e6ff46b0662529fbb778e9bd47e0ba8d11733103 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<!doctype html>
<html>
<head>
<title>HTML-AAM Generic Role Verification Tests</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>Tests ONLY the <code>generic</code> mappings defined in <a href="https://w3c.github.io/html-aam/">HTML-AAM</a>. Most test names correspond to a unique ID defined in the spec.<p>
<p>These should remain in alphabetical order by tagname.</p>
<!-- a -> ./roles-contextual.html -->
<!-- aside -> ./roles-contextual.html -->
<b data-testname="el-b" class="ex-generic">x</b>
<bdi data-testname="el-bdi" class="ex-generic">x</bdi>
<bdo data-testname="el-bdo" class="ex-generic">x</bdo>
<data value="1" data-testname="el-data" class="ex-generic">x</data>
<div open data-testname="el-div" class="ex-generic">x</div>
<!-- footer -> ./roles-contextual.html -->
<!-- header -> ./roles-contextual.html -->
<i data-testname="el-i" class="ex-generic">x</i>
<li data-testname="el-li-orphaned" class="ex-generic">x</li><!-- todo: should orphaned roles be tested in a new ./roles-orphaned.html file? -->
<pre data-testname="el-pre" class="ex-generic">x</pre>
<q data-testname="el-q" class="ex-generic">x</q>
<samp data-testname="el-samp" class="ex-generic">x</samp>
<!-- section -> ./roles-contextual.html -->
<small data-testname="el-small" class="ex-generic">x</small>
<span data-testname="el-span" class="ex-generic">x</span>
<u data-testname="el-u" class="ex-generic">x</u>
<script>
AriaUtils.verifyGenericRolesBySelector(".ex-generic");
</script>
</body>
</html>
|