<html> | |
<script> | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
</script> | |
<body> | |
<span id="message">This computer will self-destruct in</span> | |
<input id="time" type="text" value="10" aria-labelledby="message time unit"/> | |
<span id="unit"> minutes.</span> | |
<div id="result"></div> | |
<script> | |
if (window.accessibilityController) { | |
var labeledItem = document.getElementById("time"); | |
labeledItem.focus(); | |
var result = document.getElementById("result"); | |
result.innerText = "\nThe accessibility description is \"" + accessibilityController.focusedElement.description + "\""; | |
} | |
</script> | |
</body> | |
</html> |