MediaPlayerPrivateAVFoundationObjC's "periodic time observer" is unnecessary
[WebKit-https.git] / LayoutTests / accessibility / aria-used-on-image-maps.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
5 <script>
6 var successfullyParsed = false;
7 </script>
8 <script src="../fast/js/resources/js-test-pre.js"></script>
9 </head>
10 <body id="body">
11
12 <img id="image" usemap="#map" src="data:image/gif;base64,R0lGODlhAQABAIAAAOTm7AAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" width="100" height="50" alt="">
13 <map name="map" id="map">
14     <area tabindex="0" role="button" shape="rect" coords="0,0,50,50" href="#" title="Example 1">
15     <area tabindex="0" role="button" shape="rect" coords="50,0,100,50" href="#" title="Example 2">
16 </map>
17
18 <p id="description"></p>
19 <div id="console"></div>
20
21 <script>
22
23     description("This tests that you can set an ARIA role on image map elements.");
24
25     if (window.accessibilityController) {
26
27           var group = accessibilityController.rootElement.childAtIndex(0).childAtIndex(0);
28           shouldBe("group.childAtIndex(0).role", "'AXRole: AXButton'");
29           shouldBe("group.childAtIndex(1).role", "'AXRole: AXButton'");
30     }
31
32     successfullyParsed = true;
33 </script>
34
35 <script src="../fast/js/resources/js-test-post.js"></script>
36 </body>
37 </html>