JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / static-text-with-aria-label.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
9 <abbr tabindex="0" id="abbrItem" role="text" aria-label="inch">"</abbr>
10
11 <p id="description"></p>
12 <div id="console"></div>
13
14 <script>
15
16     description("This tests that aria-label on a role='text' does not duplicate the AXValue in the AXDescription");
17
18     if (window.accessibilityController) {
19
20         document.getElementById("abbrItem").focus();
21         shouldBe("accessibilityController.focusedElement.description", "'AXDescription: '");
22         shouldBe("accessibilityController.focusedElement.stringValue", "'AXValue: inch'");
23     }
24
25 </script>
26
27 <script src="../../../fast/js/resources/js-test-post.js"></script>
28 </body>
29 </html>