Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Side by Side Diff: LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE WARNING: 'window.webkitStorageInfo' is deprecated. Please use 'navigator .webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
2 CONSOLE WARNING: 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead .
3 Non-hidden div for comparison
4 non-hidden treeitem
5 hidden non-treeitem
6 Buttons are leaf nodes
7 Descendant of aria-hidden node
8
9 List item also presentational
10 Div in list isn't presentational
11 Content within label refers to label container
12 #_1: {
13 "id": "<int>",
14 "result": {
15 "accessibilityNode": {
16 "nodeId": "<string>",
17 "ignored": false,
18 "role": {
19 "type": "internalRole",
20 "value": "Div"
21 },
22 "properties": []
23 }
24 }
25 }
26 #_2: {
27 "id": "<int>",
28 "result": {
29 "accessibilityNode": {
30 "nodeId": "<string>",
31 "ignored": false,
32 "role": {
33 "type": "role",
34 "value": "treeitem"
35 },
36 "properties": [
37 {
38 "name": "level",
39 "value": {
40 "type": "integer",
41 "value": 1
42 }
43 },
44 {
45 "name": "checked",
46 "value": {
47 "type": "tristate",
48 "value": "false"
49 }
50 },
51 {
52 "name": "selected",
53 "value": {
54 "type": "boolean",
55 "value": false
56 }
57 }
58 ]
59 }
60 }
61 }
62 #_3: {
63 "id": "<int>",
64 "result": {
65 "accessibilityNode": {
66 "nodeId": "<string>",
67 "ignored": true,
68 "ignoredReasons": [
69 {
70 "name": "ancestorDisallowsChild",
71 "value": {
72 "type": "idref",
73 "relatedNodeValue": {
74 "backendNodeId": "<string>"
75 }
76 }
77 }
78 ]
79 }
80 }
81 }
82 #_4: {
83 "id": "<int>",
84 "result": {
85 "accessibilityNode": {
86 "nodeId": "<string>",
87 "ignored": true,
88 "ignoredReasons": [
89 {
90 "name": "ancestorDisallowsChild",
91 "value": {
92 "type": "idref",
93 "relatedNodeValue": {
94 "backendNodeId": "<string>"
95 }
96 }
97 }
98 ]
99 }
100 }
101 }
102 #_5: {
103 "id": "<int>",
104 "result": {
105 "accessibilityNode": {
106 "nodeId": "<string>",
107 "ignored": true,
108 "ignoredReasons": [
109 {
110 "name": "ancestorIsLeafNode",
111 "value": {
112 "type": "idref",
113 "relatedNodeValue": {
114 "backendNodeId": "<string>"
115 }
116 }
117 }
118 ]
119 }
120 }
121 }
122 #_6: {
123 "id": "<int>",
124 "result": {
125 "accessibilityNode": {
126 "nodeId": "<string>",
127 "ignored": true,
128 "ignoredReasons": [
129 {
130 "name": "ariaHidden",
131 "value": {
132 "type": "boolean",
133 "value": true
134 }
135 }
136 ]
137 }
138 }
139 }
140 #_7: {
141 "id": "<int>",
142 "result": {
143 "accessibilityNode": {
144 "nodeId": "<string>",
145 "ignored": true,
146 "ignoredReasons": [
147 {
148 "name": "ariaHiddenRoot",
149 "value": {
150 "type": "idref",
151 "relatedNodeValue": {
152 "backendNodeId": "<string>",
153 "idref": "_6"
154 }
155 }
156 }
157 ]
158 }
159 }
160 }
161 #_8: {
162 "id": "<int>",
163 "result": {
164 "accessibilityNode": {
165 "nodeId": "<string>",
166 "ignored": false,
167 "role": {
168 "type": "role",
169 "value": "img"
170 },
171 "properties": []
172 }
173 }
174 }
175 #_9: {
176 "id": "<int>",
177 "result": {
178 "accessibilityNode": {
179 "nodeId": "<string>",
180 "ignored": true,
181 "ignoredReasons": [
182 {
183 "name": "presentationRole",
184 "value": {
185 "type": "boolean",
186 "value": true
187 }
188 }
189 ]
190 }
191 }
192 }
193 #_10: {
194 "id": "<int>",
195 "result": {
196 "accessibilityNode": {
197 "nodeId": "<string>",
198 "ignored": true,
199 "ignoredReasons": [
200 {
201 "name": "inheritsPresentation",
202 "value": {
203 "type": "idref",
204 "relatedNodeValue": {
205 "backendNodeId": "<string>",
206 "idref": "_9"
207 }
208 }
209 }
210 ]
211 }
212 }
213 }
214 #_11: {
215 "id": "<int>",
216 "result": {
217 "accessibilityNode": {
218 "nodeId": "<string>",
219 "ignored": false,
220 "role": {
221 "type": "internalRole",
222 "value": "Div"
223 },
224 "properties": []
225 }
226 }
227 }
228 #_12: {
229 "id": "<int>",
230 "result": {
231 "accessibilityNode": {
232 "nodeId": "<string>",
233 "ignored": true,
234 "ignoredReasons": [
235 {
236 "name": "labelFor",
237 "value": {
238 "type": "idref",
239 "relatedNodeValue": {
240 "backendNodeId": "<string>",
241 "idref": "checkbox"
242 }
243 }
244 }
245 ]
246 }
247 }
248 }
249 #_13: {
250 "id": "<int>",
251 "result": {
252 "accessibilityNode": {
253 "nodeId": "<string>",
254 "ignored": true,
255 "ignoredReasons": [
256 {
257 "name": "labelContainer",
258 "value": {
259 "type": "idref",
260 "relatedNodeValue": {
261 "backendNodeId": "<string>",
262 "idref": "_12"
263 }
264 }
265 },
266 {
267 "name": "labelFor",
268 "value": {
269 "type": "idref",
270 "relatedNodeValue": {
271 "backendNodeId": "<string>",
272 "idref": "checkbox"
273 }
274 }
275 }
276 ]
277 }
278 }
279 }
280 #_14: {
281 "id": "<int>",
282 "result": {
283 "accessibilityNode": {
284 "nodeId": "<string>",
285 "ignored": true,
286 "ignoredReasons": [
287 {
288 "name": "notRendered",
289 "value": {
290 "type": "boolean",
291 "value": true
292 }
293 }
294 ]
295 }
296 }
297 }
298 #_15: {
299 "id": "<int>",
300 "result": {
301 "accessibilityNode": {
302 "nodeId": "<string>",
303 "ignored": true,
304 "ignoredReasons": [
305 {
306 "name": "probablyPresentational",
307 "value": {
308 "type": "boolean",
309 "value": true
310 }
311 }
312 ]
313 }
314 }
315 }
316
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698