OLD | NEW |
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 List item also presentational | 6 List item also presentational |
7 Div in list isn't presentational | 7 Div in list isn't presentational |
8 Content within label refers to label container | 8 Content within label refers to label container |
9 | 9 |
10 WebArea | 10 WebArea |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 } | 171 } |
172 ], | 172 ], |
173 "role": { | 173 "role": { |
174 "type": "internalRole", | 174 "type": "internalRole", |
175 "value": "Ignored" | 175 "value": "Ignored" |
176 }, | 176 }, |
177 "domNode": "li" | 177 "domNode": "li" |
178 } | 178 } |
179 | 179 |
180 WebArea | 180 WebArea |
| 181 Div |
| 182 tree |
| 183 img |
| 184 button "Buttons are leaf nodes" |
| 185 text "List item also presentational" |
181 *Div | 186 *Div |
182 text "Div in list isn't presentational" | 187 text "Div in list isn't presentational" |
| 188 checkbox "Content within label refers to label container" |
| 189 Div |
| 190 combobox |
| 191 Div |
183 { | 192 { |
184 "nodeId": "<string>", | 193 "nodeId": "<string>", |
185 "ignored": false, | 194 "ignored": false, |
186 "role": { | 195 "role": { |
187 "type": "internalRole", | 196 "type": "internalRole", |
188 "value": "Div" | 197 "value": "Div" |
189 }, | 198 }, |
190 "name": { | 199 "name": { |
191 "type": "computedString", | 200 "type": "computedString", |
192 "value": "", | 201 "value": "", |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 } | 359 } |
351 ], | 360 ], |
352 "role": { | 361 "role": { |
353 "type": "internalRole", | 362 "type": "internalRole", |
354 "value": "Ignored" | 363 "value": "Ignored" |
355 }, | 364 }, |
356 "domNode": "canvas" | 365 "domNode": "canvas" |
357 } | 366 } |
358 | 367 |
359 WebArea | 368 WebArea |
| 369 Div |
| 370 tree |
| 371 img |
| 372 button "Buttons are leaf nodes" |
| 373 text "List item also presentational" |
| 374 Div |
| 375 checkbox "Content within label refers to label container" |
| 376 Div |
360 *combobox | 377 *combobox |
361 MenuListPopup | 378 MenuListPopup |
362 menuitem "Options should be" | 379 Div |
363 menuitem "sent down even though" | |
364 menuitem "they are grandchildren" | |
365 { | 380 { |
366 "nodeId": "<string>", | 381 "nodeId": "<string>", |
367 "ignored": false, | 382 "ignored": false, |
368 "role": { | 383 "role": { |
369 "type": "role", | 384 "type": "role", |
370 "value": "combobox" | 385 "value": "combobox" |
371 }, | 386 }, |
372 "name": { | 387 "name": { |
373 "type": "computedString", | 388 "type": "computedString", |
374 "value": "", | 389 "value": "", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 "name": "expanded", | 422 "name": "expanded", |
408 "value": { | 423 "value": { |
409 "type": "booleanOrUndefined", | 424 "type": "booleanOrUndefined", |
410 "value": false | 425 "value": false |
411 } | 426 } |
412 } | 427 } |
413 ], | 428 ], |
414 "domNode": "select" | 429 "domNode": "select" |
415 } | 430 } |
416 | 431 |
| 432 *menuitem "Options should be" |
| 433 { |
| 434 "nodeId": "<string>", |
| 435 "ignored": false, |
| 436 "role": { |
| 437 "type": "role", |
| 438 "value": "menuitem" |
| 439 }, |
| 440 "name": { |
| 441 "type": "computedString", |
| 442 "value": "Options should be", |
| 443 "sources": [ |
| 444 { |
| 445 "type": "relatedElement", |
| 446 "attribute": "aria-labelledby" |
| 447 }, |
| 448 { |
| 449 "type": "attribute", |
| 450 "attribute": "aria-label" |
| 451 }, |
| 452 { |
| 453 "type": "contents", |
| 454 "value": { |
| 455 "type": "computedString", |
| 456 "value": "Options should be" |
| 457 } |
| 458 } |
| 459 ] |
| 460 }, |
| 461 "properties": [], |
| 462 "domNode": "option" |
| 463 } |
| 464 |
OLD | NEW |