OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 | 5 |
6 <div id="wrapper"> | 6 <div id="wrapper"> |
7 <a id="link" href="#">Link</a> | 7 <a id="link" href="#">Link</a> |
8 <button id="button">Button</button> | 8 <button id="button">Button</button> |
9 <button id="labeled-button" aria-label="Label">Button</button> | 9 <button id="labeled-button" aria-label="Label">Button</button> |
10 <button id="button-with-title" title="Title">Button</button> | 10 <button id="button-with-title" title="Title">Button</button> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 shouldBe("isAXElementClickable('focusable')", "false"); | 71 shouldBe("isAXElementClickable('focusable')", "false"); |
72 shouldBe("isAXElementClickable('heading')", "false"); | 72 shouldBe("isAXElementClickable('heading')", "false"); |
73 shouldBe("isAXElementClickable('aria-button')", "true"); | 73 shouldBe("isAXElementClickable('aria-button')", "true"); |
74 shouldBe("isAXElementClickable('aria-link')", "true"); | 74 shouldBe("isAXElementClickable('aria-link')", "true"); |
75 shouldBe("isAXElementClickable('div')", "false"); | 75 shouldBe("isAXElementClickable('div')", "false"); |
76 shouldBe("isAXElementClickable('onclick')", "true"); | 76 shouldBe("isAXElementClickable('onclick')", "true"); |
77 shouldBe("isAXElementClickable('keydown-listener')", "false"); | 77 shouldBe("isAXElementClickable('keydown-listener')", "false"); |
78 shouldBe("isAXElementClickable('click-listener')", "true"); | 78 shouldBe("isAXElementClickable('click-listener')", "true"); |
79 shouldBe("isAXElementClickable('mousedown-listener')", "true"); | 79 shouldBe("isAXElementClickable('mousedown-listener')", "true"); |
80 | 80 |
81 shouldBe("axRole('empty-anchor')", "'AXRole: AXUnknown'"); | 81 shouldBe("axRole('empty-anchor')", "'AXRole: AXAnchor'"); |
82 shouldBe("axRole('href-anchor')", "'AXRole: AXLink'"); | 82 shouldBe("axRole('href-anchor')", "'AXRole: AXLink'"); |
83 shouldBe("axRole('onclick-anchor')", "'AXRole: AXLink'"); | 83 shouldBe("axRole('onclick-anchor')", "'AXRole: AXLink'"); |
84 shouldBe("axRole('click-listener-anchor')", "'AXRole: AXLink'"); | 84 shouldBe("axRole('click-listener-anchor')", "'AXRole: AXLink'"); |
85 | 85 |
86 document.getElementById("wrapper").hidden = true; | 86 document.getElementById("wrapper").hidden = true; |
87 } | 87 } |
88 | 88 |
89 </script> | 89 </script> |
90 | 90 |
91 </body> | 91 </body> |
92 </html> | 92 </html> |
OLD | NEW |