4 <script src="../fast/js/resources/js-test-pre.js"></script>
8 <input type="image" alt="Submit" src="resources/cake.png" width=100 height=100 id="image1">
10 <p id="description"></p>
11 <div id="console"></div>
14 if (window.accessibilityController) {
15 description("This test makes sure that an input image returns its alt tag as the description");
17 var image1 = document.getElementById("image1").focus();
18 var img = accessibilityController.focusedElement;
20 shouldBe("img.description", "'AXDescription: Submit'");
24 <script src="../fast/js/resources/js-test-post.js"></script>