blob: f78af805eafac8a2c02a2f325cbe2926fda6d319 [file] [log] [blame]
Joanmarie Diggsf4652d92017-04-25 14:55:401<!doctype html>
2<html>
3 <head>
4 <title>doc-noteref</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_LINK"
25 ],
26 [
27 "property",
28 "objectAttributes",
29 "contains",
30 "xml-roles:doc-noteref"
31 ]
32 ],
33 "AXAPI" : [
34 [
35 "property",
36 "AXRole",
37 "is",
38 "AXLink"
39 ],
40 [
41 "property",
42 "AXSubrole",
43 "is",
44 "<nil>"
45 ],
46 [
47 "property",
48 "AXRoleDescription",
49 "is",
50 "link"
51 ]
52 ],
53 "IAccessible2" : [
54 [
55 "property",
56 "objectAttributes",
57 "contains",
58 "xml-roles:doc-noteref"
59 ],
60 [
61 "property",
62 "interfaces",
63 "contains",
64 "IAccessibleHypertext2"
65 ]
66 ],
67 "MSAA" : [
68 [
69 "property",
70 "role",
71 "is",
72 "ROLE_SYSTEM_LINK"
73 ],
74 [
75 "property",
76 "states",
77 "contains",
78 "STATE_LINKED"
79 ]
80 ],
81 "UIA" : [
82 [
83 "property",
84 "ControlType",
85 "is",
86 "Text"
87 ],
88 [
89 "property",
90 "LocalizedControlType",
91 "is",
92 "noteref"
93 ]
Joanmarie Diggsf4652d92017-04-25 14:55:4094 ]
95 },
96 "title" : "step 1",
97 "type" : "test"
98 },
99 {
100 "element" : "child",
101 "test" : {
102 "MSAA" : [
103 [
104 "property",
105 "states",
106 "contains",
107 "STATE_LINKED"
108 ]
109 ],
Joanmarie421fc0f2017-05-10 21:33:17110 "UIA" : []
Joanmarie Diggsf4652d92017-04-25 14:55:40111 },
112 "title" : "step 2",
113 "type" : "test"
114 }
115 ],
116 "title" : "doc-noteref"
117}
118
119 ) ;
120 </script>
121 </head>
122 <body>
123 <p>This test examines the ARIA properties for doc-noteref.</p>
124 <div role="doc-noteref" id="test">
125 <div id="child">child 1</div>
126 </div>
127
128 <div id="manualMode"></div>
129 <div id="log"></div>
130 <div id="ATTAmessages"></div>
131 </body>
132</html>
133