| 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" | |
| 186 *Div | 181 *Div |
| 187 text "Div in list isn't presentational" | 182 text "Div in list isn't presentational" |
| 188 checkbox "Content within label refers to label container" | |
| 189 Div | |
| 190 combobox | |
| 191 Div | |
| 192 { | 183 { |
| 193 "nodeId": "<string>", | 184 "nodeId": "<string>", |
| 194 "ignored": false, | 185 "ignored": false, |
| 195 "role": { | 186 "role": { |
| 196 "type": "internalRole", | 187 "type": "internalRole", |
| 197 "value": "Div" | 188 "value": "Div" |
| 198 }, | 189 }, |
| 199 "name": { | 190 "name": { |
| 200 "type": "computedString", | 191 "type": "computedString", |
| 201 "value": "", | 192 "value": "", |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 } | 350 } |
| 360 ], | 351 ], |
| 361 "role": { | 352 "role": { |
| 362 "type": "internalRole", | 353 "type": "internalRole", |
| 363 "value": "Ignored" | 354 "value": "Ignored" |
| 364 }, | 355 }, |
| 365 "domNode": "canvas" | 356 "domNode": "canvas" |
| 366 } | 357 } |
| 367 | 358 |
| 368 WebArea | 359 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 | |
| 377 *combobox | 360 *combobox |
| 378 MenuListPopup | 361 MenuListPopup |
| 379 Div | 362 menuitem "Options should be" |
| 363 menuitem "sent down even though" |
| 364 menuitem "they are grandchildren" |
| 380 { | 365 { |
| 381 "nodeId": "<string>", | 366 "nodeId": "<string>", |
| 382 "ignored": false, | 367 "ignored": false, |
| 383 "role": { | 368 "role": { |
| 384 "type": "role", | 369 "type": "role", |
| 385 "value": "combobox" | 370 "value": "combobox" |
| 386 }, | 371 }, |
| 387 "name": { | 372 "name": { |
| 388 "type": "computedString", | 373 "type": "computedString", |
| 389 "value": "", | 374 "value": "", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 "name": "expanded", | 407 "name": "expanded", |
| 423 "value": { | 408 "value": { |
| 424 "type": "booleanOrUndefined", | 409 "type": "booleanOrUndefined", |
| 425 "value": false | 410 "value": false |
| 426 } | 411 } |
| 427 } | 412 } |
| 428 ], | 413 ], |
| 429 "domNode": "select" | 414 "domNode": "select" |
| 430 } | 415 } |
| 431 | 416 |
| 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 |