blob: 258da79bb98cf48ae78db1390e3243f0ef7b6364 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body id="body">
<p>
This test verifies that, on Windows, list markers return the
non-editable "text" role.
<br><br>
<a href="https://bugs.webkit.org/show_bug.cgi?id="></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 listMarker = accessibilityController.focusedElement.childAtIndex(0);
shouldBe('listMarker.role', '"AXRole: AXStaticText"');
}
</script>
</body>
</html>