blob: 80924875fd903bc3a9e60ee74bbd976a79d539f2 [file] [log] [blame]
Joanmarie Diggsf4652d92017-04-25 14:55:401<!doctype html>
2<html>
3 <head>
4 <title>doc-biblioentry</title>
5 <link rel="stylesheet" href="/resources/testharness.css">
6 <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script>
9 <script src="/wai-aria/scripts/ATTAcomm.js"></script>
10 <script>
11 setup({explicit_timeout: true, explicit_done: true });
12
13 var theTest = new ATTAcomm(
14 {
15 "steps" : [
16 {
17 "element" : "test",
18 "test" : {
19 "ATK" : [
20 [
21 "property",
22 "role",
23 "is",
24 "ROLE_LIST_ITEM"
25 ],
26 [
27 "property",
28 "objectAttributes",
29 "contains",
30 "xml-roles:doc-biblioentry"
31 ]
32 ],
33 "AXAPI" : [
34 [
35 "property",
36 "AXRole",
37 "is",
38 "AXGroup"
39 ],
40 [
41 "property",
42 "AXSubrole",
43 "is",
44 "<nil>"
45 ],
46 [
47 "property",
48 "AXRoleDescription",
49 "is",
50 "group"
51 ]
52 ],
53 "IAccessible2" : [
54 [
55 "property",
56 "objectAttributes",
57 "contains",
58 "xml-roles:doc-biblioentry"
59 ]
60 ],
61 "MSAA" : [
62 [
63 "property",
64 "role",
65 "is",
66 "ROLE_SYSTEM_LISTITEM"
67 ],
68 [
69 "property",
70 "states",
71 "contains",
72 "STATE_SYSTEM_READONLY"
73 ]
74 ],
75 "UIA" : [
76 [
77 "property",
78 "ControlType",
79 "is",
80 "Text"
81 ],
82 [
83 "property",
84 "LocalizedControlType",
85 "is",
86 "biblioentry"
87 ]
88 ],
89 "WAIFAKE" : [
90 [
91 "property",
92 "role",
93 "is",
94 "ROLE_TABLE_CELL"
95 ],
96 [
97 "property",
98 "interfaces",
99 "contains",
100 "TableCell"
101 ]
102 ]
103 },
104 "title" : "step 1",
105 "type" : "test"
106 }
107 ],
108 "title" : "doc-biblioentry"
109}
110
111 ) ;
112 </script>
113 </head>
114 <body>
115 <p>This test examines the ARIA properties for doc-biblioentry.</p>
116 <div role="doc-biblioentry" id="test">Text</div>
117
118 <div id="manualMode"></div>
119 <div id="log"></div>
120 <div id="ATTAmessages"></div>
121 </body>
122</html>
123