blob: 2dc239c9cfd4c4c0944ce0c80b720bbdd3d3e317 [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 id="content">
<div id="test1" role="button" aria-pressed="mixed"></div>
<div id="test2" role="button" aria-pressed="true"></div>
<div id="test3" role="button" aria-pressed="false"></div>
</div>
<p id="description"></p>
<div id="console"></div>
<script>
description("Verifies the exposure of a mixed value of aria-pressed.");
if (window.accessibilityController) {
for (var i = 1; i <= 3; i++) {
var axElement = accessibilityController.accessibleElementById("test" + i);
debug("test" + i + ": " + axElement.role + " is indeterminate: " + axElement.isIndeterminate);
}
document.getElementById("content").style.visibility = "hidden";
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>