Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / aria-none-role.html
blobd5f86e31bea16d7189a832ec69f2f204e1159935
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
8 <h3 role="none">
9 <a href="#">Link</a> and text
10 </h3>
12 <p id="description"></p>
13 <div id="console"></div>
15 <script>
17 description("This tests that the aria 'none' role works by successfully removing the element from the AX tree.");
19 if (window.accessibilityController) {
21 var body = document.getElementById("body");
22 body.focus();
24 var firstChild = accessibilityController.focusedElement.childAtIndex(0);
25 shouldBe("firstChild.role", "'AXRole: AXLink'");
28 </script>
30 </body>
31 </html>