blob: 72926aaf69adcbaca544889aac5c73a096f63d11 [file] [log] [blame]
Joanmarie Diggsf4652d92017-04-25 14:55:401<!doctype html>
2<html>
3 <head>
4 <title>doc-example</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_SECTION"
25 ],
26 [
27 "property",
28 "objectAttributes",
29 "contains",
30 "xml-roles:doc-example"
31 ]
32 ],
33 "AXAPI" : [
34 [
35 "property",
36 "AXRole",
37 "is",
38 "AXGroup"
39 ],
40 [
41 "property",
42 "AXSubrole",
43 "is",
44 "AXApplicationGroup"
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-example"
59 ],
60 [
61 "property",
62 "role",
63 "is",
64 "IA2_ROLE_SECTION"
65 ]
66 ],
67 "UIA" : [
68 [
69 "property",
70 "ControlType",
71 "is",
72 "Text"
73 ],
74 [
75 "property",
76 "LocalizedControlType",
77 "is",
78 "example"
79 ]
80 ],
81 "WAIFAKE" : [
82 [
83 "property",
84 "role",
85 "is",
86 "ROLE_TABLE_CELL"
87 ],
88 [
89 "property",
90 "interfaces",
91 "contains",
92 "TableCell"
93 ]
94 ]
95 },
96 "title" : "step 1",
97 "type" : "test"
98 }
99 ],
100 "title" : "doc-example"
101}
102
103 ) ;
104 </script>
105 </head>
106 <body>
107 <p>This test examines the ARIA properties for doc-example.</p>
108 <div role="doc-example" id="test">Text</div>
109
110 <div id="manualMode"></div>
111 <div id="log"></div>
112 <div id="ATTAmessages"></div>
113 </body>
114</html>
115