| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body id="body"> | 6 <body id="body"> |
| 7 This content should not be exposed to AT when a modal dialog is open. | 7 This content should not be exposed to AT when a modal dialog is open. |
| 8 <div> | 8 <div> |
| 9 <input title="input" id="input" type="text"> | 9 <input title="input" id="input" type="text"> |
| 10 </div> | 10 </div> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 document.querySelector('dialog').showModal(); | 33 document.querySelector('dialog').showModal(); |
| 34 shouldBeNull("accessibilityController.accessibleElementById('input')"); | 34 shouldBeNull("accessibilityController.accessibleElementById('input')"); |
| 35 shouldBeFalse("treeContainsText(webArea, 'This content should not be exposed
to AT when a modal dialog is open')"); | 35 shouldBeFalse("treeContainsText(webArea, 'This content should not be exposed
to AT when a modal dialog is open')"); |
| 36 | 36 |
| 37 document.querySelector('dialog').close(); | 37 document.querySelector('dialog').close(); |
| 38 shouldBeNonNull("accessibilityController.accessibleElementById('input')"); | 38 shouldBeNonNull("accessibilityController.accessibleElementById('input')"); |
| 39 shouldBeTrue("treeContainsText(webArea, 'This content should not be exposed
to AT when a modal dialog is open')"); | 39 shouldBeTrue("treeContainsText(webArea, 'This content should not be exposed
to AT when a modal dialog is open')"); |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 43 </body> | 42 </body> |
| 44 </html> | 43 </html> |
| OLD | NEW |