3 <title>Image link test</title>
6 testRunner.dumpAsText();
11 <h2>Image link in the presence of inline continuations</h2>
13 <p>This test checks that the right accessibility tree is generated for a link inside an image</p>
15 <a id="test" href="http://www.wowhead.com/?item=33924"><img alt="Delicious cake" src="resources/cake.png"></a>
17 <div id="result"></div>
22 var result = elt.allAttributes() + "\n\n";
23 var count = elt.childrenCount;
24 for (var i = 0; i < count; ++i) {
25 result += "Child " + i + ":\n" + axTree(elt.childAtIndex(i));
30 window.onload = function () {
31 if (window.accessibilityController) {
32 var result = document.getElementById("result");
33 document.getElementById("test").focus();
34 result.innerText += axTree(accessibilityController.focusedElement);