forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharia-autocomplete.html
More file actions
45 lines (39 loc) · 1.03 KB
/
aria-autocomplete.html
File metadata and controls
45 lines (39 loc) · 1.03 KB
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
44
45
<!doctype html>
<meta charset=utf-8>
<html>
<head>
<title>aria-braillelabel</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="scripts/attr-map.js"></script>
<script src="scripts/aam-utils.js"></script>
</head>
<body>
<input role='combobox' id='test1' aria-autocomplete='both'>
<input role='combobox' id='test2' aria-autocomplete='inline'>
<input role='combobox' id='test3' aria-autocomplete='list'>
<script>
AAMUtils.verifyAttrAPI(
'test1',
'both',
attrmap['aria-autocomplete'],
'aria-autocomplete=both'
);
AAMUtils.verifyAttrAPI(
'test2',
'inline',
attrmap['aria-autocomplete'],
'aria-autocomplete=inline'
);
AAMUtils.verifyAttrAPI(
'test3',
'list',
attrmap['aria-autocomplete'],
'aria-autocomplete=list'
);
</script>
</body>
</html>