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-ignoredNodes-expected.txt

Issue 2165463003: Elements with an ARIA role of treeitem should be able to get their accessible name from their conte… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test expectations. Created 4 years, 5 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 Non-hidden div for comparison 1 Non-hidden div for comparison
2 non-hidden treeitem 2 non-hidden treeitem
3 hidden non-treeitem 3 hidden non-treeitem
4 Buttons are leaf nodes 4 Buttons are leaf nodes
5 Descendant of aria-hidden node 5 Descendant of aria-hidden node
6 6
7 List item also presentational 7 List item also presentational
8 Div in list isn't presentational 8 Div in list isn't presentational
9 Content within label refers to label container 9 Content within label refers to label container
10 { 10 {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "result": { 44 "result": {
45 "accessibilityNode": { 45 "accessibilityNode": {
46 "nodeId": "<string>", 46 "nodeId": "<string>",
47 "ignored": false, 47 "ignored": false,
48 "role": { 48 "role": {
49 "type": "role", 49 "type": "role",
50 "value": "treeitem" 50 "value": "treeitem"
51 }, 51 },
52 "name": { 52 "name": {
53 "type": "computedString", 53 "type": "computedString",
54 "value": "", 54 "value": "non-hidden treeitem",
55 "sources": [ 55 "sources": [
56 { 56 {
57 "type": "relatedElement", 57 "type": "relatedElement",
58 "attribute": "aria-labelledby" 58 "attribute": "aria-labelledby"
59 }, 59 },
60 { 60 {
61 "type": "attribute", 61 "type": "attribute",
62 "attribute": "aria-label" 62 "attribute": "aria-label"
63 }, 63 },
64 { 64 {
65 "type": "contents",
66 "value": {
67 "type": "computedString",
68 "value": "non-hidden treeitem"
69 }
70 },
71 {
65 "type": "attribute", 72 "type": "attribute",
66 "attribute": "title" 73 "attribute": "title",
74 "superseded": true
67 } 75 }
68 ] 76 ]
69 }, 77 },
70 "properties": [ 78 "properties": [
71 { 79 {
72 "name": "level", 80 "name": "level",
73 "value": { 81 "value": {
74 "type": "integer", 82 "type": "integer",
75 "value": 1 83 "value": 1
76 } 84 }
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 432 }
425 ], 433 ],
426 "role": { 434 "role": {
427 "type": "internalRole", 435 "type": "internalRole",
428 "value": "Canvas" 436 "value": "Canvas"
429 } 437 }
430 } 438 }
431 } 439 }
432 } 440 }
433 441
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698