blob: f36a5d69835452e440a5d74299d8241c9c601618 (
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
|
<!doctype html>
<html>
<head>
<title>HTMLOptGroupElement 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>
<select>
<optgroup label="x" data-testname="el-optgroup" data-expectedrole="group" class="ex">
<option>x1</option>
<option>x2</option>
</optgroup>
<optgroup data-testname="el-optgroup-no-label" data-expectedrole="not defined in spec?" class="ex-todo">
<option>y1</option>
<option>y2</option>
</optgroup>
</select>
<script>
AriaUtils.verifyRolesBySelector(".ex");
</script>
</body>
</html>
|