29 lines
793 B
HTML
29 lines
793 B
HTML
<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>
|