| 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 inert button | 8 Content within label refers to label container |
| 9 button in inert subtree | |
| 10 | 9 |
| 11 WebArea | 10 WebArea |
| 12 tree | 11 tree |
| 13 *Ignored | 12 *Ignored |
| 14 { | 13 { |
| 15 "nodeId": "<string>", | 14 "nodeId": "<string>", |
| 16 "ignored": true, | 15 "ignored": true, |
| 17 "ignoredReasons": [ | 16 "ignoredReasons": [ |
| 18 { | 17 { |
| 19 "name": "ancestorDisallowsChild", | 18 "name": "ancestorDisallowsChild", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 "domNode": "span" | 85 "domNode": "span" |
| 87 } | 86 } |
| 88 | 87 |
| 89 WebArea | 88 WebArea |
| 90 *Ignored | 89 *Ignored |
| 91 { | 90 { |
| 92 "nodeId": "<string>", | 91 "nodeId": "<string>", |
| 93 "ignored": true, | 92 "ignored": true, |
| 94 "ignoredReasons": [ | 93 "ignoredReasons": [ |
| 95 { | 94 { |
| 96 "name": "ariaHiddenElement", | 95 "name": "ariaHidden", |
| 97 "value": { | 96 "value": { |
| 98 "type": "boolean", | 97 "type": "boolean", |
| 99 "value": true | 98 "value": true |
| 100 } | 99 } |
| 101 } | 100 } |
| 102 ], | 101 ], |
| 103 "role": { | 102 "role": { |
| 104 "type": "internalRole", | 103 "type": "internalRole", |
| 105 "value": "Ignored" | 104 "value": "Ignored" |
| 106 }, | 105 }, |
| 107 "domNode": "div" | 106 "domNode": "div" |
| 108 } | 107 } |
| 109 | 108 |
| 110 WebArea | 109 WebArea |
| 111 *Ignored | 110 *Ignored |
| 112 { | 111 { |
| 113 "nodeId": "<string>", | 112 "nodeId": "<string>", |
| 114 "ignored": true, | 113 "ignored": true, |
| 115 "ignoredReasons": [ | 114 "ignoredReasons": [ |
| 116 { | 115 { |
| 117 "name": "ariaHiddenSubtree", | 116 "name": "ariaHiddenRoot", |
| 118 "value": { | 117 "value": { |
| 119 "type": "idref", | 118 "type": "idref", |
| 120 "relatedNodes": [ | 119 "relatedNodes": [ |
| 121 { | 120 { |
| 122 "nodeResult": "div" | 121 "nodeResult": "div" |
| 123 } | 122 } |
| 124 ] | 123 ] |
| 125 } | 124 } |
| 126 } | 125 } |
| 127 ], | 126 ], |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 } | 171 } |
| 173 ], | 172 ], |
| 174 "role": { | 173 "role": { |
| 175 "type": "internalRole", | 174 "type": "internalRole", |
| 176 "value": "Ignored" | 175 "value": "Ignored" |
| 177 }, | 176 }, |
| 178 "domNode": "li" | 177 "domNode": "li" |
| 179 } | 178 } |
| 180 | 179 |
| 181 WebArea | 180 WebArea |
| 182 GenericContainer | |
| 183 tree | |
| 184 img | |
| 185 button "Buttons are leaf nodes" | |
| 186 text "List item also presentational" | |
| 187 *GenericContainer | 181 *GenericContainer |
| 188 text "Div in list isn't presentational" | 182 text "Div in list isn't presentational" |
| 189 checkbox "Content within label refers to label container" | |
| 190 GenericContainer | |
| 191 combobox | |
| 192 GenericContainer | |
| 193 { | 183 { |
| 194 "nodeId": "<string>", | 184 "nodeId": "<string>", |
| 195 "ignored": false, | 185 "ignored": false, |
| 196 "role": { | 186 "role": { |
| 197 "type": "internalRole", | 187 "type": "internalRole", |
| 198 "value": "GenericContainer" | 188 "value": "GenericContainer" |
| 199 }, | 189 }, |
| 200 "name": { | 190 "name": { |
| 201 "type": "computedString", | 191 "type": "computedString", |
| 202 "value": "", | 192 "value": "", |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 } | 350 } |
| 361 ], | 351 ], |
| 362 "role": { | 352 "role": { |
| 363 "type": "internalRole", | 353 "type": "internalRole", |
| 364 "value": "Ignored" | 354 "value": "Ignored" |
| 365 }, | 355 }, |
| 366 "domNode": "canvas" | 356 "domNode": "canvas" |
| 367 } | 357 } |
| 368 | 358 |
| 369 WebArea | 359 WebArea |
| 370 GenericContainer | |
| 371 tree | |
| 372 img | |
| 373 button "Buttons are leaf nodes" | |
| 374 text "List item also presentational" | |
| 375 GenericContainer | |
| 376 checkbox "Content within label refers to label container" | |
| 377 GenericContainer | |
| 378 *combobox | 360 *combobox |
| 379 MenuListPopup | 361 MenuListPopup |
| 380 GenericContainer | 362 menuitem "Options should be" |
| 363 menuitem "sent down even though" |
| 364 menuitem "they are grandchildren" |
| 381 { | 365 { |
| 382 "nodeId": "<string>", | 366 "nodeId": "<string>", |
| 383 "ignored": false, | 367 "ignored": false, |
| 384 "role": { | 368 "role": { |
| 385 "type": "role", | 369 "type": "role", |
| 386 "value": "combobox" | 370 "value": "combobox" |
| 387 }, | 371 }, |
| 388 "name": { | 372 "name": { |
| 389 "type": "computedString", | 373 "type": "computedString", |
| 390 "value": "", | 374 "value": "", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 "name": "expanded", | 407 "name": "expanded", |
| 424 "value": { | 408 "value": { |
| 425 "type": "booleanOrUndefined", | 409 "type": "booleanOrUndefined", |
| 426 "value": false | 410 "value": false |
| 427 } | 411 } |
| 428 } | 412 } |
| 429 ], | 413 ], |
| 430 "domNode": "select" | 414 "domNode": "select" |
| 431 } | 415 } |
| 432 | 416 |
| 433 WebArea | |
| 434 combobox | |
| 435 MenuListPopup | |
| 436 *menuitem "Options should be" | |
| 437 menuitem "sent down even though" | |
| 438 menuitem "they are grandchildren" | |
| 439 { | |
| 440 "nodeId": "<string>", | |
| 441 "ignored": false, | |
| 442 "role": { | |
| 443 "type": "role", | |
| 444 "value": "menuitem" | |
| 445 }, | |
| 446 "name": { | |
| 447 "type": "computedString", | |
| 448 "value": "Options should be", | |
| 449 "sources": [ | |
| 450 { | |
| 451 "type": "relatedElement", | |
| 452 "attribute": "aria-labelledby" | |
| 453 }, | |
| 454 { | |
| 455 "type": "attribute", | |
| 456 "attribute": "aria-label" | |
| 457 }, | |
| 458 { | |
| 459 "type": "contents", | |
| 460 "value": { | |
| 461 "type": "computedString", | |
| 462 "value": "Options should be" | |
| 463 } | |
| 464 } | |
| 465 ] | |
| 466 }, | |
| 467 "properties": [], | |
| 468 "domNode": "option" | |
| 469 } | |
| 470 | |
| 471 WebArea | |
| 472 *Ignored | |
| 473 { | |
| 474 "nodeId": "<string>", | |
| 475 "ignored": true, | |
| 476 "ignoredReasons": [ | |
| 477 { | |
| 478 "name": "inertElement", | |
| 479 "value": { | |
| 480 "type": "boolean", | |
| 481 "value": true | |
| 482 } | |
| 483 } | |
| 484 ], | |
| 485 "role": { | |
| 486 "type": "internalRole", | |
| 487 "value": "Ignored" | |
| 488 }, | |
| 489 "domNode": "button" | |
| 490 } | |
| 491 | |
| 492 WebArea | |
| 493 *Ignored | |
| 494 { | |
| 495 "nodeId": "<string>", | |
| 496 "ignored": true, | |
| 497 "ignoredReasons": [ | |
| 498 { | |
| 499 "name": "inertSubtree", | |
| 500 "value": { | |
| 501 "type": "idref", | |
| 502 "relatedNodes": [ | |
| 503 { | |
| 504 "idref": "inert-root", | |
| 505 "nodeResult": "div#inert-root" | |
| 506 } | |
| 507 ] | |
| 508 } | |
| 509 } | |
| 510 ], | |
| 511 "role": { | |
| 512 "type": "internalRole", | |
| 513 "value": "Ignored" | |
| 514 }, | |
| 515 "domNode": "button" | |
| 516 } | |
| 517 | |
| OLD | NEW |