JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / accessibility / input-image-alt.html
1 <html>
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8     <input type="image" alt="Submit" src="resources/cake.png" width=100 height=100 id="image1">
9     
10     <p id="description"></p>
11     <div id="console"></div>
12      
13     <script>
14         if (window.accessibilityController) {
15             description("This test makes sure that an input image returns its alt tag as the description");
16
17             var image1 = document.getElementById("image1").focus();
18             var img = accessibilityController.focusedElement;
19
20             shouldBe("img.description", "'AXDescription: Submit'");
21         }
22     </script>
23
24 <script src="../fast/js/resources/js-test-post.js"></script>
25
26 </body> 
27 </html>