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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt

Issue 2351443003: Revert of Show ancestor hierarchy in accessibility panel (Closed)
Patch Set: Created 4 years, 3 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
1 { 1 {
2 "id": "<int>", 2 "id": "<int>",
3 "result": { 3 "result": {
4 "nodes": [ 4 "accessibilityNode": {
5 { 5 "nodeId": "<string>",
6 "nodeId": "<string>", 6 "ignored": false,
7 "ignored": false, 7 "role": {
8 "role": { 8 "type": "role",
9 "type": "role", 9 "value": "button"
10 "value": "button" 10 },
11 }, 11 "name": {
12 "name": { 12 "type": "computedString",
13 "type": "computedString", 13 "value": "",
14 "value": "", 14 "sources": [
15 "sources": [ 15 {
16 { 16 "type": "relatedElement",
17 "type": "relatedElement", 17 "attribute": "aria-labelledby"
18 "attribute": "aria-labelledby" 18 },
19 {
20 "type": "attribute",
21 "attribute": "aria-label"
22 },
23 {
24 "type": "relatedElement",
25 "nativeSource": "label"
26 },
27 {
28 "type": "contents"
29 },
30 {
31 "type": "attribute",
32 "attribute": "title"
33 }
34 ]
35 },
36 "properties": [
37 {
38 "name": "invalid",
39 "value": {
40 "type": "token",
41 "value": "false"
42 }
43 }
44 ]
45 }
46 }
47 }
48 {
49 "id": "<int>",
50 "result": {
51 "accessibilityNode": {
52 "nodeId": "<string>",
53 "ignored": false,
54 "role": {
55 "type": "role",
56 "value": "button"
57 },
58 "name": {
59 "type": "computedString",
60 "value": "button2-content",
61 "sources": [
62 {
63 "type": "relatedElement",
64 "attribute": "aria-labelledby"
65 },
66 {
67 "type": "attribute",
68 "attribute": "aria-label"
69 },
70 {
71 "type": "relatedElement",
72 "nativeSource": "label"
73 },
74 {
75 "type": "contents",
76 "value": {
77 "type": "computedString",
78 "value": "button2-content"
79 }
80 },
81 {
82 "type": "attribute",
83 "attribute": "title",
84 "superseded": true
85 }
86 ]
87 },
88 "properties": [
89 {
90 "name": "invalid",
91 "value": {
92 "type": "token",
93 "value": "false"
94 }
95 }
96 ]
97 }
98 }
99 }
100 {
101 "id": "<int>",
102 "result": {
103 "accessibilityNode": {
104 "nodeId": "<string>",
105 "ignored": false,
106 "role": {
107 "type": "role",
108 "value": "button"
109 },
110 "name": {
111 "type": "computedString",
112 "value": "",
113 "sources": [
114 {
115 "type": "relatedElement",
116 "attribute": "aria-labelledby"
117 },
118 {
119 "type": "attribute",
120 "attribute": "aria-label"
121 },
122 {
123 "type": "relatedElement",
124 "nativeSource": "label"
125 },
126 {
127 "type": "contents"
128 },
129 {
130 "type": "attribute",
131 "attribute": "title"
132 }
133 ]
134 },
135 "properties": [
136 {
137 "name": "invalid",
138 "value": {
139 "type": "token",
140 "value": "false"
141 }
142 }
143 ]
144 }
145 }
146 }
147 {
148 "id": "<int>",
149 "result": {
150 "accessibilityNode": {
151 "nodeId": "<string>",
152 "ignored": false,
153 "role": {
154 "type": "role",
155 "value": "button"
156 },
157 "name": {
158 "type": "computedString",
159 "value": "cake",
160 "sources": [
161 {
162 "type": "relatedElement",
163 "attribute": "aria-labelledby"
164 },
165 {
166 "type": "attribute",
167 "attribute": "aria-label"
168 },
169 {
170 "type": "relatedElement",
171 "nativeSource": "label"
172 },
173 {
174 "type": "contents",
175 "value": {
176 "type": "computedString",
177 "value": "cake"
178 }
179 },
180 {
181 "type": "attribute",
182 "attribute": "title",
183 "superseded": true
184 }
185 ]
186 },
187 "properties": [
188 {
189 "name": "invalid",
190 "value": {
191 "type": "token",
192 "value": "false"
193 }
194 }
195 ]
196 }
197 }
198 }
199 {
200 "id": "<int>",
201 "result": {
202 "accessibilityNode": {
203 "nodeId": "<string>",
204 "ignored": false,
205 "role": {
206 "type": "role",
207 "value": "button"
208 },
209 "name": {
210 "type": "computedString",
211 "value": "I love !",
212 "sources": [
213 {
214 "type": "relatedElement",
215 "attribute": "aria-labelledby"
216 },
217 {
218 "type": "attribute",
219 "attribute": "aria-label"
220 },
221 {
222 "type": "relatedElement",
223 "nativeSource": "label"
224 },
225 {
226 "type": "contents",
227 "value": {
228 "type": "computedString",
229 "value": "I love !"
230 }
231 },
232 {
233 "type": "attribute",
234 "attribute": "title",
235 "superseded": true
236 }
237 ]
238 },
239 "properties": [
240 {
241 "name": "invalid",
242 "value": {
243 "type": "token",
244 "value": "false"
245 }
246 }
247 ]
248 }
249 }
250 }
251 {
252 "id": "<int>",
253 "result": {
254 "accessibilityNode": {
255 "nodeId": "<string>",
256 "ignored": false,
257 "role": {
258 "type": "role",
259 "value": "button"
260 },
261 "name": {
262 "type": "computedString",
263 "value": "I love cake!",
264 "sources": [
265 {
266 "type": "relatedElement",
267 "attribute": "aria-labelledby"
268 },
269 {
270 "type": "attribute",
271 "attribute": "aria-label"
272 },
273 {
274 "type": "relatedElement",
275 "nativeSource": "label"
276 },
277 {
278 "type": "contents",
279 "value": {
280 "type": "computedString",
281 "value": "I love cake!"
282 }
283 },
284 {
285 "type": "attribute",
286 "attribute": "title",
287 "superseded": true
288 }
289 ]
290 },
291 "properties": [
292 {
293 "name": "invalid",
294 "value": {
295 "type": "token",
296 "value": "false"
297 }
298 }
299 ]
300 }
301 }
302 }
303 {
304 "id": "<int>",
305 "result": {
306 "accessibilityNode": {
307 "nodeId": "<string>",
308 "ignored": false,
309 "role": {
310 "type": "role",
311 "value": "button"
312 },
313 "name": {
314 "type": "computedString",
315 "value": "button7-title",
316 "sources": [
317 {
318 "type": "relatedElement",
319 "attribute": "aria-labelledby"
320 },
321 {
322 "type": "attribute",
323 "attribute": "aria-label"
324 },
325 {
326 "type": "relatedElement",
327 "nativeSource": "label"
328 },
329 {
330 "type": "contents"
331 },
332 {
333 "type": "attribute",
334 "value": {
335 "type": "computedString",
336 "value": "button7-title"
19 }, 337 },
20 { 338 "attribute": "title"
21 "type": "attribute", 339 }
22 "attribute": "aria-label" 340 ]
341 },
342 "properties": [
343 {
344 "name": "invalid",
345 "value": {
346 "type": "token",
347 "value": "false"
348 }
349 }
350 ]
351 }
352 }
353 }
354 {
355 "id": "<int>",
356 "result": {
357 "accessibilityNode": {
358 "nodeId": "<string>",
359 "ignored": false,
360 "role": {
361 "type": "role",
362 "value": "button"
363 },
364 "name": {
365 "type": "computedString",
366 "value": "button8-content",
367 "sources": [
368 {
369 "type": "relatedElement",
370 "attribute": "aria-labelledby"
371 },
372 {
373 "type": "attribute",
374 "attribute": "aria-label"
375 },
376 {
377 "type": "relatedElement",
378 "nativeSource": "label"
379 },
380 {
381 "type": "contents",
382 "value": {
383 "type": "computedString",
384 "value": "button8-content"
385 }
386 },
387 {
388 "type": "attribute",
389 "value": {
390 "type": "computedString",
391 "value": "button8-title"
23 }, 392 },
24 { 393 "attribute": "title",
25 "type": "relatedElement", 394 "superseded": true
26 "nativeSource": "label" 395 }
396 ]
397 },
398 "description": {
399 "type": "computedString",
400 "value": "button8-title"
401 },
402 "properties": [
403 {
404 "name": "invalid",
405 "value": {
406 "type": "token",
407 "value": "false"
408 }
409 }
410 ]
411 }
412 }
413 }
414 {
415 "id": "<int>",
416 "result": {
417 "accessibilityNode": {
418 "nodeId": "<string>",
419 "ignored": false,
420 "role": {
421 "type": "role",
422 "value": "button"
423 },
424 "name": {
425 "type": "computedString",
426 "value": "button9-title",
427 "sources": [
428 {
429 "type": "relatedElement",
430 "attribute": "aria-labelledby"
431 },
432 {
433 "type": "attribute",
434 "attribute": "aria-label"
435 },
436 {
437 "type": "relatedElement",
438 "nativeSource": "label"
439 },
440 {
441 "type": "contents"
442 },
443 {
444 "type": "attribute",
445 "value": {
446 "type": "computedString",
447 "value": "button9-title"
27 }, 448 },
28 { 449 "attribute": "title"
29 "type": "contents" 450 }
451 ]
452 },
453 "properties": [
454 {
455 "name": "invalid",
456 "value": {
457 "type": "token",
458 "value": "false"
459 }
460 }
461 ]
462 }
463 }
464 }
465 {
466 "id": "<int>",
467 "result": {
468 "accessibilityNode": {
469 "nodeId": "<string>",
470 "ignored": false,
471 "role": {
472 "type": "role",
473 "value": "button"
474 },
475 "name": {
476 "type": "computedString",
477 "value": "cake",
478 "sources": [
479 {
480 "type": "relatedElement",
481 "attribute": "aria-labelledby"
482 },
483 {
484 "type": "attribute",
485 "attribute": "aria-label"
486 },
487 {
488 "type": "relatedElement",
489 "nativeSource": "label"
490 },
491 {
492 "type": "contents",
493 "value": {
494 "type": "computedString",
495 "value": "cake"
496 }
497 },
498 {
499 "type": "attribute",
500 "value": {
501 "type": "computedString",
502 "value": "button10-title"
30 }, 503 },
31 { 504 "attribute": "title",
32 "type": "attribute", 505 "superseded": true
33 "attribute": "title" 506 }
34 } 507 ]
35 ] 508 },
36 }, 509 "description": {
37 "properties": [ 510 "type": "computedString",
38 { 511 "value": "button10-title"
39 "name": "invalid", 512 },
40 "value": { 513 "properties": [
41 "type": "token", 514 {
42 "value": "false" 515 "name": "invalid",
43 } 516 "value": {
44 } 517 "type": "token",
45 ] 518 "value": "false"
46 } 519 }
47 ] 520 }
48 } 521 ]
49 } 522 }
50 { 523 }
51 "id": "<int>", 524 }
52 "result": { 525 {
53 "nodes": [ 526 "id": "<int>",
54 { 527 "result": {
55 "nodeId": "<string>", 528 "accessibilityNode": {
56 "ignored": false, 529 "nodeId": "<string>",
57 "role": { 530 "ignored": false,
58 "type": "role", 531 "role": {
59 "value": "button" 532 "type": "role",
60 }, 533 "value": "button"
61 "name": { 534 },
62 "type": "computedString", 535 "name": {
63 "value": "button2-content", 536 "type": "computedString",
64 "sources": [ 537 "value": "label-for-button11",
65 { 538 "sources": [
66 "type": "relatedElement", 539 {
67 "attribute": "aria-labelledby" 540 "type": "relatedElement",
541 "attribute": "aria-labelledby"
542 },
543 {
544 "type": "attribute",
545 "attribute": "aria-label"
546 },
547 {
548 "type": "relatedElement",
549 "value": {
550 "type": "computedString",
551 "value": "label-for-button11"
68 }, 552 },
69 { 553 "nativeSource": "labelfor",
70 "type": "attribute", 554 "nativeSourceValue": {
71 "attribute": "aria-label"
72 },
73 {
74 "type": "relatedElement",
75 "nativeSource": "label"
76 },
77 {
78 "type": "contents",
79 "value": {
80 "type": "computedString",
81 "value": "button2-content"
82 }
83 },
84 {
85 "type": "attribute",
86 "attribute": "title",
87 "superseded": true
88 }
89 ]
90 },
91 "properties": [
92 {
93 "name": "invalid",
94 "value": {
95 "type": "token",
96 "value": "false"
97 }
98 }
99 ]
100 }
101 ]
102 }
103 }
104 {
105 "id": "<int>",
106 "result": {
107 "nodes": [
108 {
109 "nodeId": "<string>",
110 "ignored": false,
111 "role": {
112 "type": "role",
113 "value": "button"
114 },
115 "name": {
116 "type": "computedString",
117 "value": "",
118 "sources": [
119 {
120 "type": "relatedElement",
121 "attribute": "aria-labelledby"
122 },
123 {
124 "type": "attribute",
125 "attribute": "aria-label"
126 },
127 {
128 "type": "relatedElement",
129 "nativeSource": "label"
130 },
131 {
132 "type": "contents"
133 },
134 {
135 "type": "attribute",
136 "attribute": "title"
137 }
138 ]
139 },
140 "properties": [
141 {
142 "name": "invalid",
143 "value": {
144 "type": "token",
145 "value": "false"
146 }
147 }
148 ]
149 }
150 ]
151 }
152 }
153 {
154 "id": "<int>",
155 "result": {
156 "nodes": [
157 {
158 "nodeId": "<string>",
159 "ignored": false,
160 "role": {
161 "type": "role",
162 "value": "button"
163 },
164 "name": {
165 "type": "computedString",
166 "value": "cake",
167 "sources": [
168 {
169 "type": "relatedElement",
170 "attribute": "aria-labelledby"
171 },
172 {
173 "type": "attribute",
174 "attribute": "aria-label"
175 },
176 {
177 "type": "relatedElement",
178 "nativeSource": "label"
179 },
180 {
181 "type": "contents",
182 "value": {
183 "type": "computedString",
184 "value": "cake"
185 }
186 },
187 {
188 "type": "attribute",
189 "attribute": "title",
190 "superseded": true
191 }
192 ]
193 },
194 "properties": [
195 {
196 "name": "invalid",
197 "value": {
198 "type": "token",
199 "value": "false"
200 }
201 }
202 ]
203 }
204 ]
205 }
206 }
207 {
208 "id": "<int>",
209 "result": {
210 "nodes": [
211 {
212 "nodeId": "<string>",
213 "ignored": false,
214 "role": {
215 "type": "role",
216 "value": "button"
217 },
218 "name": {
219 "type": "computedString",
220 "value": "I love !",
221 "sources": [
222 {
223 "type": "relatedElement",
224 "attribute": "aria-labelledby"
225 },
226 {
227 "type": "attribute",
228 "attribute": "aria-label"
229 },
230 {
231 "type": "relatedElement",
232 "nativeSource": "label"
233 },
234 {
235 "type": "contents",
236 "value": {
237 "type": "computedString",
238 "value": "I love !"
239 }
240 },
241 {
242 "type": "attribute",
243 "attribute": "title",
244 "superseded": true
245 }
246 ]
247 },
248 "properties": [
249 {
250 "name": "invalid",
251 "value": {
252 "type": "token",
253 "value": "false"
254 }
255 }
256 ]
257 }
258 ]
259 }
260 }
261 {
262 "id": "<int>",
263 "result": {
264 "nodes": [
265 {
266 "nodeId": "<string>",
267 "ignored": false,
268 "role": {
269 "type": "role",
270 "value": "button"
271 },
272 "name": {
273 "type": "computedString",
274 "value": "I love cake!",
275 "sources": [
276 {
277 "type": "relatedElement",
278 "attribute": "aria-labelledby"
279 },
280 {
281 "type": "attribute",
282 "attribute": "aria-label"
283 },
284 {
285 "type": "relatedElement",
286 "nativeSource": "label"
287 },
288 {
289 "type": "contents",
290 "value": {
291 "type": "computedString",
292 "value": "I love cake!"
293 }
294 },
295 {
296 "type": "attribute",
297 "attribute": "title",
298 "superseded": true
299 }
300 ]
301 },
302 "properties": [
303 {
304 "name": "invalid",
305 "value": {
306 "type": "token",
307 "value": "false"
308 }
309 }
310 ]
311 }
312 ]
313 }
314 }
315 {
316 "id": "<int>",
317 "result": {
318 "nodes": [
319 {
320 "nodeId": "<string>",
321 "ignored": false,
322 "role": {
323 "type": "role",
324 "value": "button"
325 },
326 "name": {
327 "type": "computedString",
328 "value": "button7-title",
329 "sources": [
330 {
331 "type": "relatedElement",
332 "attribute": "aria-labelledby"
333 },
334 {
335 "type": "attribute",
336 "attribute": "aria-label"
337 },
338 {
339 "type": "relatedElement",
340 "nativeSource": "label"
341 },
342 {
343 "type": "contents"
344 },
345 {
346 "type": "attribute",
347 "value": {
348 "type": "computedString",
349 "value": "button7-title"
350 },
351 "attribute": "title"
352 }
353 ]
354 },
355 "properties": [
356 {
357 "name": "invalid",
358 "value": {
359 "type": "token",
360 "value": "false"
361 }
362 }
363 ]
364 }
365 ]
366 }
367 }
368 {
369 "id": "<int>",
370 "result": {
371 "nodes": [
372 {
373 "nodeId": "<string>",
374 "ignored": false,
375 "role": {
376 "type": "role",
377 "value": "button"
378 },
379 "name": {
380 "type": "computedString",
381 "value": "button8-content",
382 "sources": [
383 {
384 "type": "relatedElement",
385 "attribute": "aria-labelledby"
386 },
387 {
388 "type": "attribute",
389 "attribute": "aria-label"
390 },
391 {
392 "type": "relatedElement",
393 "nativeSource": "label"
394 },
395 {
396 "type": "contents",
397 "value": {
398 "type": "computedString",
399 "value": "button8-content"
400 }
401 },
402 {
403 "type": "attribute",
404 "value": {
405 "type": "computedString",
406 "value": "button8-title"
407 },
408 "attribute": "title",
409 "superseded": true
410 }
411 ]
412 },
413 "description": {
414 "type": "computedString",
415 "value": "button8-title"
416 },
417 "properties": [
418 {
419 "name": "invalid",
420 "value": {
421 "type": "token",
422 "value": "false"
423 }
424 }
425 ]
426 }
427 ]
428 }
429 }
430 {
431 "id": "<int>",
432 "result": {
433 "nodes": [
434 {
435 "nodeId": "<string>",
436 "ignored": false,
437 "role": {
438 "type": "role",
439 "value": "button"
440 },
441 "name": {
442 "type": "computedString",
443 "value": "button9-title",
444 "sources": [
445 {
446 "type": "relatedElement",
447 "attribute": "aria-labelledby"
448 },
449 {
450 "type": "attribute",
451 "attribute": "aria-label"
452 },
453 {
454 "type": "relatedElement",
455 "nativeSource": "label"
456 },
457 {
458 "type": "contents"
459 },
460 {
461 "type": "attribute",
462 "value": {
463 "type": "computedString",
464 "value": "button9-title"
465 },
466 "attribute": "title"
467 }
468 ]
469 },
470 "properties": [
471 {
472 "name": "invalid",
473 "value": {
474 "type": "token",
475 "value": "false"
476 }
477 }
478 ]
479 }
480 ]
481 }
482 }
483 {
484 "id": "<int>",
485 "result": {
486 "nodes": [
487 {
488 "nodeId": "<string>",
489 "ignored": false,
490 "role": {
491 "type": "role",
492 "value": "button"
493 },
494 "name": {
495 "type": "computedString",
496 "value": "cake",
497 "sources": [
498 {
499 "type": "relatedElement",
500 "attribute": "aria-labelledby"
501 },
502 {
503 "type": "attribute",
504 "attribute": "aria-label"
505 },
506 {
507 "type": "relatedElement",
508 "nativeSource": "label"
509 },
510 {
511 "type": "contents",
512 "value": {
513 "type": "computedString",
514 "value": "cake"
515 }
516 },
517 {
518 "type": "attribute",
519 "value": {
520 "type": "computedString",
521 "value": "button10-title"
522 },
523 "attribute": "title",
524 "superseded": true
525 }
526 ]
527 },
528 "description": {
529 "type": "computedString",
530 "value": "button10-title"
531 },
532 "properties": [
533 {
534 "name": "invalid",
535 "value": {
536 "type": "token",
537 "value": "false"
538 }
539 }
540 ]
541 }
542 ]
543 }
544 }
545 {
546 "id": "<int>",
547 "result": {
548 "nodes": [
549 {
550 "nodeId": "<string>",
551 "ignored": false,
552 "role": {
553 "type": "role",
554 "value": "button"
555 },
556 "name": {
557 "type": "computedString",
558 "value": "label-for-button11",
559 "sources": [
560 {
561 "type": "relatedElement",
562 "attribute": "aria-labelledby"
563 },
564 {
565 "type": "attribute",
566 "attribute": "aria-label"
567 },
568 {
569 "type": "relatedElement",
570 "value": {
571 "type": "computedString",
572 "value": "label-for-button11"
573 },
574 "nativeSource": "labelfor",
575 "nativeSourceValue": {
576 "type": "nodeList",
577 "relatedNodes": [
578 {
579 "backendNodeId": "<string>",
580 "text": "label-for-button11"
581 }
582 ]
583 }
584 },
585 {
586 "type": "contents",
587 "value": {
588 "type": "computedString",
589 "value": "button11-content"
590 },
591 "superseded": true
592 },
593 {
594 "type": "attribute",
595 "attribute": "title",
596 "superseded": true
597 }
598 ]
599 },
600 "properties": [
601 {
602 "name": "invalid",
603 "value": {
604 "type": "token",
605 "value": "false"
606 }
607 },
608 {
609 "name": "labelledby",
610 "value": {
611 "type": "nodeList", 555 "type": "nodeList",
612 "relatedNodes": [ 556 "relatedNodes": [
613 { 557 {
614 "text": "label-for-button11", 558 "backendNodeId": "<string>",
615 "nodeResult": "label" 559 "text": "label-for-button11"
616 } 560 }
617 ] 561 ]
618 } 562 }
619 } 563 },
620 ] 564 {
621 } 565 "type": "contents",
622 ] 566 "value": {
567 "type": "computedString",
568 "value": "button11-content"
569 },
570 "superseded": true
571 },
572 {
573 "type": "attribute",
574 "attribute": "title",
575 "superseded": true
576 }
577 ]
578 },
579 "properties": [
580 {
581 "name": "invalid",
582 "value": {
583 "type": "token",
584 "value": "false"
585 }
586 },
587 {
588 "name": "labelledby",
589 "value": {
590 "type": "nodeList",
591 "relatedNodes": [
592 {
593 "text": "label-for-button11",
594 "nodeResult": "label"
595 }
596 ]
597 }
598 }
599 ]
600 }
623 } 601 }
624 } 602 }
625 603
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698