Move platform/mac/accessibility tests to accessibility/mac.
[WebKit-https.git] / LayoutTests / accessibility / mac / aria-menubar.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <div tabindex="0" id="menu" role="menubar">menubar</div>
9
10 <p id="description"></p>
11 <div id="console"></div>
12
13 <script>
14
15     description("This tests that an ARIA menu bar is exposed as a menu bar.");
16
17     if (window.accessibilityController) {
18
19         document.getElementById("menu").focus();
20         shouldBe("accessibilityController.focusedElement.role", "'AXRole: AXMenuBar'");
21     }
22
23 </script>
24
25 <script src="../../resources/js-test-post.js"></script>
26 </body>
27 </html>