blob: 5810b74d4b79de624eaeb7f2c5d2252f394c4a56 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body id="body">
<p>
This test verifies that, on Windows, list items return the
"list item" role.
<br><br>
<a href="https://bugs.webkit.org/show_bug.cgi?id=32688">Bug 32688 - MSAA: Accessibility role of list items is wrong</a>
</p>
<ul>
<li id="listItem" tabindex="1">list item</li>
</ul>
<p id="console"></p>
<script>
if (window.accessibilityController) {
document.getElementById("listItem").focus();
var listItem = accessibilityController.focusedElement;
shouldBe('listItem.role', '"AXRole: AXTab"');
}
</script>
</body>
</html>