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

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: Add a catch-all return to ignoredReasonName Created 5 years, 7 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 Non-hidden div for comparison
2 non-hidden treeitem
3 hidden non-treeitem
4 Buttons are leaf nodes
5 Descendant of aria-hidden node
6
7 List item also presentational
8 Div in list isn't presentational
9 Content within label refers to label container
10 #_1: {
11 "id": "<int>",
12 "result": {
13 "accessibilityNode": {
14 "nodeId": "<string>",
15 "ignored": false,
16 "role": {
17 "type": "internalRole",
18 "value": "Div"
19 },
20 "properties": []
21 }
22 }
23 }
24 #_2: {
25 "id": "<int>",
26 "result": {
27 "accessibilityNode": {
28 "nodeId": "<string>",
29 "ignored": false,
30 "role": {
31 "type": "role",
32 "value": "treeitem"
33 },
34 "properties": [
35 {
36 "name": "level",
37 "value": {
38 "type": "integer",
39 "value": 1
40 }
41 },
42 {
43 "name": "checked",
44 "value": {
45 "type": "tristate",
46 "value": "false"
47 }
48 },
49 {
50 "name": "selected",
51 "value": {
52 "type": "boolean",
53 "value": false
54 }
55 }
56 ]
57 }
58 }
59 }
60 #_3: {
61 "id": "<int>",
62 "result": {
63 "accessibilityNode": {
64 "nodeId": "<string>",
65 "ignored": true,
66 "role": {
67 "type": "internalRole",
68 "value": "Div"
69 },
70 "ignoredReasons": [
71 {
72 "name": "ancestorDisallowsChild",
73 "value": {
74 "type": "idref",
75 "relatedNodeValue": {
76 "backendNodeId": "<string>"
77 }
78 }
79 }
80 ]
81 }
82 }
83 }
84 #_4: {
85 "id": "<int>",
86 "result": {
87 "accessibilityNode": {
88 "nodeId": "<string>",
89 "ignored": true,
90 "role": {
91 "type": "internalRole",
92 "value": "SVGRoot"
93 },
94 "ignoredReasons": [
95 {
96 "name": "ancestorDisallowsChild",
97 "value": {
98 "type": "idref",
99 "relatedNodeValue": {
100 "backendNodeId": "<string>"
101 }
102 }
103 }
104 ]
105 }
106 }
107 }
108 #_5: {
109 "id": "<int>",
110 "result": {
111 "accessibilityNode": {
112 "nodeId": "<string>",
113 "ignored": true,
114 "role": {
115 "type": "internalRole",
116 "value": "Unknown"
117 },
118 "ignoredReasons": [
119 {
120 "name": "ancestorIsLeafNode",
121 "value": {
122 "type": "idref",
123 "relatedNodeValue": {
124 "backendNodeId": "<string>"
125 }
126 }
127 }
128 ]
129 }
130 }
131 }
132 #_6: {
133 "id": "<int>",
134 "result": {
135 "accessibilityNode": {
136 "nodeId": "<string>",
137 "ignored": true,
138 "role": {
139 "type": "internalRole",
140 "value": "Div"
141 },
142 "ignoredReasons": [
143 {
144 "name": "ariaHidden",
145 "value": {
146 "type": "boolean",
147 "value": true
148 }
149 }
150 ]
151 }
152 }
153 }
154 #_7: {
155 "id": "<int>",
156 "result": {
157 "accessibilityNode": {
158 "nodeId": "<string>",
159 "ignored": true,
160 "role": {
161 "type": "internalRole",
162 "value": "Div"
163 },
164 "ignoredReasons": [
165 {
166 "name": "ariaHiddenRoot",
167 "value": {
168 "type": "idref",
169 "relatedNodeValue": {
170 "backendNodeId": "<string>",
171 "idref": "_6"
172 }
173 }
174 }
175 ]
176 }
177 }
178 }
179 #_8: {
180 "id": "<int>",
181 "result": {
182 "accessibilityNode": {
183 "nodeId": "<string>",
184 "ignored": false,
185 "role": {
186 "type": "role",
187 "value": "img"
188 },
189 "properties": []
190 }
191 }
192 }
193 #_9: {
194 "id": "<int>",
195 "result": {
196 "accessibilityNode": {
197 "nodeId": "<string>",
198 "ignored": true,
199 "role": {
200 "type": "role",
201 "value": "none"
202 },
203 "ignoredReasons": [
204 {
205 "name": "presentationalRole",
206 "value": {
207 "type": "boolean",
208 "value": true
209 }
210 }
211 ]
212 }
213 }
214 }
215 #_10: {
216 "id": "<int>",
217 "result": {
218 "accessibilityNode": {
219 "nodeId": "<string>",
220 "ignored": true,
221 "role": {
222 "type": "role",
223 "value": "listitem"
224 },
225 "ignoredReasons": [
226 {
227 "name": "inheritsPresentation",
228 "value": {
229 "type": "idref",
230 "relatedNodeValue": {
231 "backendNodeId": "<string>",
232 "idref": "_9"
233 }
234 }
235 }
236 ]
237 }
238 }
239 }
240 #_11: {
241 "id": "<int>",
242 "result": {
243 "accessibilityNode": {
244 "nodeId": "<string>",
245 "ignored": false,
246 "role": {
247 "type": "internalRole",
248 "value": "Div"
249 },
250 "properties": []
251 }
252 }
253 }
254 #_12: {
255 "id": "<int>",
256 "result": {
257 "accessibilityNode": {
258 "nodeId": "<string>",
259 "ignored": true,
260 "role": {
261 "type": "internalRole",
262 "value": "Label"
263 },
264 "ignoredReasons": [
265 {
266 "name": "labelFor",
267 "value": {
268 "type": "idref",
269 "relatedNodeValue": {
270 "backendNodeId": "<string>",
271 "idref": "checkbox"
272 }
273 }
274 }
275 ]
276 }
277 }
278 }
279 #_13: {
280 "id": "<int>",
281 "result": {
282 "accessibilityNode": {
283 "nodeId": "<string>",
284 "ignored": true,
285 "role": {
286 "type": "internalRole",
287 "value": "Unknown"
288 },
289 "ignoredReasons": [
290 {
291 "name": "labelContainer",
292 "value": {
293 "type": "idref",
294 "relatedNodeValue": {
295 "backendNodeId": "<string>",
296 "idref": "_12"
297 }
298 }
299 },
300 {
301 "name": "labelFor",
302 "value": {
303 "type": "idref",
304 "relatedNodeValue": {
305 "backendNodeId": "<string>",
306 "idref": "checkbox"
307 }
308 }
309 }
310 ]
311 }
312 }
313 }
314 #_14: {
315 "id": "<int>",
316 "result": {
317 "accessibilityNode": {
318 "nodeId": "<string>",
319 "ignored": true,
320 "ignoredReasons": [
321 {
322 "name": "notRendered",
323 "value": {
324 "type": "boolean",
325 "value": true
326 }
327 }
328 ]
329 }
330 }
331 }
332 #_15: {
333 "id": "<int>",
334 "result": {
335 "accessibilityNode": {
336 "nodeId": "<string>",
337 "ignored": true,
338 "role": {
339 "type": "internalRole",
340 "value": "Canvas"
341 },
342 "ignoredReasons": [
343 {
344 "name": "probablyPresentational",
345 "value": {
346 "type": "boolean",
347 "value": true
348 }
349 }
350 ]
351 }
352 }
353 }
354
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698