1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../resources/js-test.js"></script>
8 <div id=
"content" role=
"group">
10 <main id=
"main" aria-hidden=
"true">
11 <video controls=
"controls"></video>
12 <select id=
"select"><option>a
</select>
16 <ul><li>item
</li></ul>
17 <select size=
"10"><option>a
</select>
18 <img src=
"resources/cake.png" width=
"145" height=
"126" usemap=
"#map">
20 <area shape=
"rect" coords=
"0,0,100,100" href=
"#" alt=
"cake">
28 description("This tests aria-hidden on a parent node will hide all these special subclass objects.");
30 if (window
.accessibilityController
) {
32 var content
= accessibilityController
.accessibleElementById("content");
33 shouldBe("content.childrenCount", "0");
35 // Clear the HTML for better results.
36 document
.getElementById("content").innerHTML
= "";