blob: 7c200267a5e81b2b6b533fb7cce2af35276ac9ec [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<div tabindex="0" id="menu" role="menubar">menubar</div>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that an ARIA menu bar is exposed as a menu bar.");
if (window.accessibilityController) {
document.getElementById("menu").focus();
shouldBe("accessibilityController.focusedElement.role", "'AXRole: AXMenuBar'");
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>