Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / aria-hidden-with-elements.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <table border=1 summary="test" aria-hidden="true">
9 <tr><td>cell</td><td>cell</td><td>cell</td></tr>
10 <tr><td>cell</td><td>cell</td><td>cell</td></tr>
11 </table>
12
13 <div role="grid" aria-hidden="true">
14 <div role="row"><div role="gridcell">cell</div></div>
15 </div>
16
17 <ul aria-hidden="true">
18 <li>test
19 <li>test
20 </ul>
21
22 <select size=10 aria-hidden="true">
23 <option>option
24 <option>option
25 </select>
26
27 <h1>heading</h1>
28
29 <p id="description"></p>
30 <div id="console"></div>
31
32 <script>
33
34     description("This tests that aria-hidden works as expected on elements that are subclasses of AccessibilityRenderObject");
35
36     if (window.accessibilityController) {
37        var root = accessibilityController.rootElement;
38
39        // first child is an AXGroup that has no children
40        var child = root.childAtIndex(0).childAtIndex(0);
41        shouldBe("child.childrenCount", "0");
42
43        // The second child we ask for from the web area should be the heading, and we should have skipped over everything else.
44        child = root.childAtIndex(0).childAtIndex(1);
45        shouldBe("child.role", "'AXRole: AXHeading'");
46     }
47
48 </script>
49
50 <script src="../fast/js/resources/js-test-post.js"></script>
51 </body>
52 </html>