1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
8 <div role="toolbar" aria-label="test toolbar">
13 <p id="description"></p>
14 <div id="console"></div>
18 description("This tests that the aria-toolbar role correctly returns a toolbar.");
20 if (window.accessibilityController) {
22 var body = document.getElementById("body");
24 var obj = accessibilityController.focusedElement.childAtIndex(0);
26 var succeeded = obj.role == "AXRole: AXToolbar";
27 shouldBe("succeeded", "true");
32 <script src="../../../fast/js/resources/js-test-post.js"></script>