blob: a4d3864a3f812aedf7e12c9f9da5fcb8f3a9216e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<a id="link" tabindex="0" href="#" title="TITLE">text</a>
<p id="description"></p>
<div id="console"></div>
<div id="notifications"></div>
<script>
description("This tests that the title attribute is not used as the AXTitle (only as the AXHelp)");
if (window.accessibilityController) {
document.getElementById("link").focus();
shouldBe("accessibilityController.focusedElement.title", "'AXTitle: text'");
shouldBe("accessibilityController.focusedElement.helpText", "'AXHelp: TITLE'");
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>