JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / aria-divs-not-ignored.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <h3>text</h3>
9 <div class="text" role="log" aria-live="polite" id="visibleText"></div>
10
11 <p id="description"></p>
12 <div id="console"></div>
13
14 <script>
15
16     description("This tests that a div element with nothing in, but one that has an ARIA role, will not be ignored by accessibility.");
17
18     if (window.accessibilityController) {
19
20           document.getElementById("body").focus();
21           var body = accessibilityController.focusedElement;
22           shouldBe("body.childAtIndex(1).role", "'AXRole: AXGroup'");
23           shouldBe("body.childAtIndex(1).subrole", "'AXSubrole: AXApplicationLog'");
24     }
25
26 </script>
27
28 <script src="../../../fast/js/resources/js-test-post.js"></script>
29 </body>
30 </html>