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

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

Issue 2322413003: Show ancestor hierarchy in accessibility panel (Closed)
Patch Set: Add new test for ancestors 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 Lunch Options 1 Lunch Options
2 2
3 Thai 3 Thai
4 Subway 4 Subway
5 Jimmy Johns 5 Jimmy Johns
6 Radio Maria 6 Radio Maria
7 Rainbow Gardens 7 Rainbow Gardens
8 Drink Options 8 Drink Options
9 9
10 Water 10 Water
11 Tea 11 Tea
12 Coffee 12 Coffee
13 Cola 13 Cola
14 Ginger Ale 14 Ginger Ale
15 { 15 {
16 "id": "<int>", 16 "id": "<int>",
17 "result": { 17 "result": {
18 "accessibilityNode": { 18 "nodes": [
19 "nodeId": "<string>", 19 {
20 "ignored": false, 20 "nodeId": "<string>",
21 "role": { 21 "ignored": false,
22 "type": "role", 22 "role": {
23 "value": "radiogroup" 23 "type": "role",
24 }, 24 "value": "radiogroup"
25 "name": { 25 },
26 "type": "computedString", 26 "name": {
27 "value": "Lunch Options", 27 "type": "computedString",
28 "sources": [ 28 "value": "Lunch Options",
29 "sources": [
30 {
31 "type": "relatedElement",
32 "value": {
33 "type": "computedString",
34 "value": "Lunch Options"
35 },
36 "attribute": "aria-labelledby",
37 "attributeValue": {
38 "type": "idrefList",
39 "value": "rg1_label",
40 "relatedNodes": [
41 {
42 "idref": "rg1_label",
43 "text": "Lunch Options",
44 "nodeResult": "h3#rg1_label"
45 }
46 ]
47 }
48 },
49 {
50 "type": "attribute",
51 "attribute": "aria-label",
52 "superseded": true
53 },
54 {
55 "type": "attribute",
56 "attribute": "title",
57 "superseded": true
58 }
59 ]
60 },
61 "properties": [
29 { 62 {
30 "type": "relatedElement", 63 "name": "required",
31 "value": { 64 "value": {
32 "type": "computedString", 65 "type": "boolean",
33 "value": "Lunch Options" 66 "value": false
34 }, 67 }
35 "attribute": "aria-labelledby", 68 },
36 "attributeValue": { 69 {
37 "type": "idrefList", 70 "name": "activedescendant",
38 "value": "rg1_label", 71 "value": {
72 "type": "idref",
73 "relatedNodes": [
74 {
75 "idref": "rg1-r4",
76 "nodeResult": "li#rg1-r4"
77 }
78 ]
79 }
80 },
81 {
82 "name": "labelledby",
83 "value": {
84 "type": "nodeList",
39 "relatedNodes": [ 85 "relatedNodes": [
40 { 86 {
41 "idref": "rg1_label", 87 "idref": "rg1_label",
42 "text": "Lunch Options", 88 "text": "Lunch Options",
43 "nodeResult": "h3#rg1_label" 89 "nodeResult": "h3#rg1_label"
44 } 90 }
45 ] 91 ]
46 } 92 }
47 },
48 {
49 "type": "attribute",
50 "attribute": "aria-label",
51 "superseded": true
52 },
53 {
54 "type": "attribute",
55 "attribute": "title",
56 "superseded": true
57 } 93 }
58 ] 94 ]
59 }, 95 }
60 "properties": [ 96 ]
61 {
62 "name": "required",
63 "value": {
64 "type": "boolean",
65 "value": false
66 }
67 },
68 {
69 "name": "activedescendant",
70 "value": {
71 "type": "idref",
72 "relatedNodes": [
73 {
74 "idref": "rg1-r4",
75 "nodeResult": "li#rg1-r4"
76 }
77 ]
78 }
79 },
80 {
81 "name": "labelledby",
82 "value": {
83 "type": "nodeList",
84 "relatedNodes": [
85 {
86 "idref": "rg1_label",
87 "text": "Lunch Options",
88 "nodeResult": "h3#rg1_label"
89 }
90 ]
91 }
92 }
93 ]
94 }
95 } 97 }
96 } 98 }
97 { 99 {
98 "id": "<int>", 100 "id": "<int>",
99 "result": { 101 "result": {
100 "accessibilityNode": { 102 "nodes": [
101 "nodeId": "<string>", 103 {
102 "ignored": false, 104 "nodeId": "<string>",
103 "role": { 105 "ignored": false,
104 "type": "role", 106 "role": {
105 "value": "radiogroup" 107 "type": "role",
106 }, 108 "value": "radiogroup"
107 "name": { 109 },
108 "type": "computedString", 110 "name": {
109 "value": "Drink Options", 111 "type": "computedString",
110 "sources": [ 112 "value": "Drink Options",
113 "sources": [
114 {
115 "type": "relatedElement",
116 "value": {
117 "type": "computedString",
118 "value": "Drink Options"
119 },
120 "attribute": "aria-labelledby",
121 "attributeValue": {
122 "type": "idrefList",
123 "value": "rg2_label",
124 "relatedNodes": [
125 {
126 "idref": "rg2_label",
127 "text": "Drink Options",
128 "nodeResult": "h3#rg2_label"
129 }
130 ]
131 }
132 },
133 {
134 "type": "attribute",
135 "attribute": "aria-label",
136 "superseded": true
137 },
138 {
139 "type": "attribute",
140 "attribute": "title",
141 "superseded": true
142 }
143 ]
144 },
145 "properties": [
111 { 146 {
112 "type": "relatedElement", 147 "name": "required",
113 "value": { 148 "value": {
114 "type": "computedString", 149 "type": "boolean",
115 "value": "Drink Options" 150 "value": false
116 }, 151 }
117 "attribute": "aria-labelledby", 152 },
118 "attributeValue": { 153 {
119 "type": "idrefList", 154 "name": "labelledby",
120 "value": "rg2_label", 155 "value": {
156 "type": "nodeList",
121 "relatedNodes": [ 157 "relatedNodes": [
122 { 158 {
123 "idref": "rg2_label", 159 "idref": "rg2_label",
124 "text": "Drink Options", 160 "text": "Drink Options",
125 "nodeResult": "h3#rg2_label" 161 "nodeResult": "h3#rg2_label"
126 } 162 }
127 ] 163 ]
128 } 164 }
129 },
130 {
131 "type": "attribute",
132 "attribute": "aria-label",
133 "superseded": true
134 },
135 {
136 "type": "attribute",
137 "attribute": "title",
138 "superseded": true
139 } 165 }
140 ] 166 ]
141 }, 167 }
142 "properties": [ 168 ]
143 {
144 "name": "required",
145 "value": {
146 "type": "boolean",
147 "value": false
148 }
149 },
150 {
151 "name": "labelledby",
152 "value": {
153 "type": "nodeList",
154 "relatedNodes": [
155 {
156 "idref": "rg2_label",
157 "text": "Drink Options",
158 "nodeResult": "h3#rg2_label"
159 }
160 ]
161 }
162 }
163 ]
164 }
165 } 169 }
166 } 170 }
167 171
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698