1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../fast/js/resources/js-test-pre.js"></script>
8 <div tabindex="0" role="group" id="images">
9 <img id="firstimage" alt=" " src="resources/cake.png"><br>
10 <img alt=" " src="resources/cake.png"><br>
11 <img alt=" Image " src="resources/cake.png"><br>
14 <p id="description"></p>
15 <div id="console"></div>
19 description("This tests that images with alt tags that only have white space are ignored.");
21 if (window.accessibilityController) {
23 document.getElementById("images").focus();
24 var imagesGroup = accessibilityController.focusedElement;
25 shouldBe("imagesGroup.childrenCount", "1");
26 console.log("Image description: " + imagesGroup.childAtIndex(0).description);
31 <script src="../fast/js/resources/js-test-post.js"></script>