4 testRunner
.dumpAsText();
8 <div id=
"result"></div>
10 <!-- Test image map -->
11 <map id=
"apple" name=
"imagemap1">
12 <area shape=
"rect" coords=
"10,10,133,72" href=
"http://www.apple.com" alt=
"Link1" />
13 <area shape=
"rect" coords=
"12,74,134,88" href=
"http://www.apple.com" alt=
"Link2" />
16 <img src=
"resources/cake.png" border=
"0" align=
"left" usemap=
"#imagemap1" vspace=
"1">
20 if (window
.accessibilityController
) {
21 var result
= document
.getElementById("result");
23 var body
= document
.getElementById("body");
25 result
.innerText
+= "Image map - test 2 - 2 Links (alt tags)\n";
26 result
.innerText
+= "----------------------\n";
27 result
.innerText
+= accessibilityController
.focusedElement
.attributesOfChildren() + "\n\n";