blob: 9ccbbd189a61b2ad2ec19474a40efc5e0c2d427e [file] [log] [blame]
<html>
<html>
<head>
<link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
<script>
var successfullyParsed = false;
</script>
<script src="../fast/js/resources/js-test-pre.js"></script>
</head>
<body id="body">
<input placeholder="search" type="text" name="q" size="15" maxlength="255" id="searchterm" />
<p id="description"></p>
<div id="console"></div>
<script>
if (window.accessibilityController) {
description("This test makes sure that the AXTitle will fall back to placeholder text if nothing else is available");
var field = document.getElementById("searchterm").focus();
var fieldElement = accessibilityController.focusedElement;
shouldBe("fieldElement.title", "'AXTitle: search'");
}
successfullyParsed = true;
</script>
<script src="../fast/js/resources/js-test-post.js"></script>
</body>
</html>