33 lines
739 B
HTML
33 lines
739 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../resources/js-test-pre.js"></script>
|
|
</head>
|
|
<body id="body">
|
|
|
|
<h3 role="presentation">
|
|
<a href="#">Link</a> and text
|
|
</h3>
|
|
|
|
<p id="description"></p>
|
|
<div id="console"></div>
|
|
|
|
<script>
|
|
|
|
description("This tests that the aria 'presentation' 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);
|
|
debug("firstChild.role is " + firstChild.role);
|
|
}
|
|
|
|
</script>
|
|
|
|
<script src="../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|