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

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: pfeldman review comments (take 2) 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 "ignoredReasons": [
67 {
68 "name": "ancestorDisallowsChild",
69 "value": {
70 "type": "idref",
71 "relatedNodeValue": {
72 "backendNodeId": "<string>"
73 }
74 }
75 }
76 ]
77 }
78 }
79 }
80 #_4: {
81 "id": "<int>",
82 "result": {
83 "accessibilityNode": {
84 "nodeId": "<string>",
85 "ignored": true,
86 "ignoredReasons": [
87 {
88 "name": "ancestorDisallowsChild",
89 "value": {
90 "type": "idref",
91 "relatedNodeValue": {
92 "backendNodeId": "<string>"
93 }
94 }
95 }
96 ]
97 }
98 }
99 }
100 #_5: {
101 "id": "<int>",
102 "result": {
103 "accessibilityNode": {
104 "nodeId": "<string>",
105 "ignored": true,
106 "ignoredReasons": [
107 {
108 "name": "ancestorIsLeafNode",
109 "value": {
110 "type": "idref",
111 "relatedNodeValue": {
112 "backendNodeId": "<string>"
113 }
114 }
115 }
116 ]
117 }
118 }
119 }
120 #_6: {
121 "id": "<int>",
122 "result": {
123 "accessibilityNode": {
124 "nodeId": "<string>",
125 "ignored": true,
126 "ignoredReasons": [
127 {
128 "name": "ariaHidden",
129 "value": {
130 "type": "boolean",
131 "value": true
132 }
133 }
134 ]
135 }
136 }
137 }
138 #_7: {
139 "id": "<int>",
140 "result": {
141 "accessibilityNode": {
142 "nodeId": "<string>",
143 "ignored": true,
144 "ignoredReasons": [
145 {
146 "name": "ariaHiddenRoot",
147 "value": {
148 "type": "idref",
149 "relatedNodeValue": {
150 "backendNodeId": "<string>",
151 "idref": "_6"
152 }
153 }
154 }
155 ]
156 }
157 }
158 }
159 #_8: {
160 "id": "<int>",
161 "result": {
162 "accessibilityNode": {
163 "nodeId": "<string>",
164 "ignored": false,
165 "role": {
166 "type": "role",
167 "value": "img"
168 },
169 "properties": []
170 }
171 }
172 }
173 #_9: {
174 "id": "<int>",
175 "result": {
176 "accessibilityNode": {
177 "nodeId": "<string>",
178 "ignored": true,
179 "ignoredReasons": [
180 {
181 "name": "presentationRole",
182 "value": {
183 "type": "boolean",
184 "value": true
185 }
186 }
187 ]
188 }
189 }
190 }
191 #_10: {
192 "id": "<int>",
193 "result": {
194 "accessibilityNode": {
195 "nodeId": "<string>",
196 "ignored": true,
197 "ignoredReasons": [
198 {
199 "name": "inheritsPresentation",
200 "value": {
201 "type": "idref",
202 "relatedNodeValue": {
203 "backendNodeId": "<string>",
204 "idref": "_9"
205 }
206 }
207 }
208 ]
209 }
210 }
211 }
212 #_11: {
213 "id": "<int>",
214 "result": {
215 "accessibilityNode": {
216 "nodeId": "<string>",
217 "ignored": false,
218 "role": {
219 "type": "internalRole",
220 "value": "Div"
221 },
222 "properties": []
223 }
224 }
225 }
226 #_12: {
227 "id": "<int>",
228 "result": {
229 "accessibilityNode": {
230 "nodeId": "<string>",
231 "ignored": true,
232 "ignoredReasons": [
233 {
234 "name": "labelFor",
235 "value": {
236 "type": "idref",
237 "relatedNodeValue": {
238 "backendNodeId": "<string>",
239 "idref": "checkbox"
240 }
241 }
242 }
243 ]
244 }
245 }
246 }
247 #_13: {
248 "id": "<int>",
249 "result": {
250 "accessibilityNode": {
251 "nodeId": "<string>",
252 "ignored": true,
253 "ignoredReasons": [
254 {
255 "name": "labelContainer",
256 "value": {
257 "type": "idref",
258 "relatedNodeValue": {
259 "backendNodeId": "<string>",
260 "idref": "_12"
261 }
262 }
263 },
264 {
265 "name": "labelFor",
266 "value": {
267 "type": "idref",
268 "relatedNodeValue": {
269 "backendNodeId": "<string>",
270 "idref": "checkbox"
271 }
272 }
273 }
274 ]
275 }
276 }
277 }
278 #_14: {
279 "id": "<int>",
280 "result": {
281 "accessibilityNode": {
282 "nodeId": "<string>",
283 "ignored": true,
284 "ignoredReasons": [
285 {
286 "name": "notRendered",
287 "value": {
288 "type": "boolean",
289 "value": true
290 }
291 }
292 ]
293 }
294 }
295 }
296 #_15: {
297 "id": "<int>",
298 "result": {
299 "accessibilityNode": {
300 "nodeId": "<string>",
301 "ignored": true,
302 "ignoredReasons": [
303 {
304 "name": "probablyPresentational",
305 "value": {
306 "type": "boolean",
307 "value": true
308 }
309 }
310 ]
311 }
312 }
313 }
314
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698