OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body id="body"> | 6 <body id="body"> |
7 | 7 |
8 <div tabindex="0" role="group" id="images"> | 8 <div tabindex="0" role="group" id="images"> |
9 <img id="firstimage" alt=" " src="resources/cake.png"><br> | 9 <img id="firstimage" alt=" " src="resources/cake.png"><br> |
10 <img alt=" " src="resources/cake.png"><br> | 10 <img alt=" " src="resources/cake.png"><br> |
(...skipping 10 matching lines...) Expand all Loading... |
21 if (window.accessibilityController) { | 21 if (window.accessibilityController) { |
22 | 22 |
23 document.getElementById("images").focus(); | 23 document.getElementById("images").focus(); |
24 var imagesGroup = accessibilityController.focusedElement; | 24 var imagesGroup = accessibilityController.focusedElement; |
25 shouldBe("imagesGroup.childrenCount", "1"); | 25 shouldBe("imagesGroup.childrenCount", "1"); |
26 console.log("Image description: " + imagesGroup.childAtIndex(0).descript
ion); | 26 console.log("Image description: " + imagesGroup.childAtIndex(0).descript
ion); |
27 } | 27 } |
28 | 28 |
29 </script> | 29 </script> |
30 | 30 |
31 <script src="../fast/js/resources/js-test-post.js"></script> | |
32 </body> | 31 </body> |
33 </html> | 32 </html> |
OLD | NEW |