blob: d5f86e31bea16d7189a832ec69f2f204e1159935 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test.js"></script>
</head>
<body id="body">
<h3 role="none">
<a href="#">Link</a> and text
</h3>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that the aria 'none' role works by successfully removing the element from the AX tree.");
if (window.accessibilityController) {
var body = document.getElementById("body");
body.focus();
var firstChild = accessibilityController.focusedElement.childAtIndex(0);
shouldBe("firstChild.role", "'AXRole: AXLink'");
}
</script>
</body>
</html>