JS Test Harness: Remove more link tags
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / aria-valuetext.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script>
5 var successfullyParsed = false;
6 </script>
7 <script src="../../../fast/js/resources/js-test-pre.js"></script>
8 </head>
9 <body id="body">
10
11 <div id="slider" role="slider" aria-valuetext="MAX" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">slider</div>
12
13 <p id="description"></p>
14 <div id="console"></div>
15
16 <script>
17
18     description("This tests that aria-valuetext reachable as the AXValueDescription");
19
20     if (window.accessibilityController) {
21
22           // this text field should be required.
23           document.getElementById("body").focus();
24           var obj = accessibilityController.focusedElement.childAtIndex(0);
25           var succeeded = obj.valueDescription == "MAX";
26           shouldBe("succeeded", "true");
27     }
28
29     successfullyParsed = true;
30 </script>
31
32 <script src="../../../fast/js/resources/js-test-post.js"></script>
33 </body>
34 </html>