Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / aria-hidden.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 <h1 aria-hidden="true">h1 <b>test</b></h1>
8 <h2 aria-hidden="false">h2</h2>
9 <p id="description"></p>
10 <div id="console"></div>
11
12 <script>
13
14     description("This tests that the aria-hidden attribute works correctly with accessibility. The H1 element (and its children) should not appear in the AX hierarchy. The H2 element should be the first child");
15
16     if (window.accessibilityController) {
17
18           var body = document.getElementById("body");
19           body.focus();
20           var h2 = accessibilityController.focusedElement.childAtIndex(0);
21           var pattern = "AXTitle: h2";
22           var succeeded = h2.allAttributes().indexOf(pattern) != -1;
23           shouldBe("succeeded", "true");
24     }
25
26 </script>
27
28 <script src="../fast/js/resources/js-test-post.js"></script>
29 </body>
30 </html>