Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: LayoutTests/accessibility/aria-hidden.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 <h1 aria-hidden="true">h1 <b>test</b></h1> 7 <h1 aria-hidden="true">h1 <b>test</b></h1>
8 <h2 aria-hidden="false">h2</h2> 8 <h2 aria-hidden="false">h2</h2>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 11
12 <script> 12 <script>
13 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 hie rarchy. The H2 element should be the first child"); 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 hie rarchy. The H2 element should be the first child");
15 15
16 if (window.accessibilityController) { 16 if (window.accessibilityController) {
17 17
18 var body = document.getElementById("body"); 18 var body = document.getElementById("body");
19 body.focus(); 19 body.focus();
20 var h2 = accessibilityController.focusedElement.childAtIndex(0); 20 var h2 = accessibilityController.focusedElement.childAtIndex(0);
21 shouldBe("h2.title", "'AXTitle: h2'"); 21 shouldBe("h2.title", "'AXTitle: h2'");
22 } 22 }
23 23
24 </script> 24 </script>
25 25
26 <script src="../fast/js/resources/js-test-post.js"></script>
27 </body> 26 </body>
28 </html> 27 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-help.html ('k') | LayoutTests/accessibility/aria-hidden-hides-all-elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698