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

Side by Side Diff: LayoutTests/accessibility/aria-none-role.html

Issue 588653003: Adding support for ARIA 1.1 role="none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding Layout Test Created 6 years, 3 months 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-none-role-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 7
8 <h3 role="presentation"> 8 <h3 role="none">
9 <a href="#">Link</a> and text 9 <a href="#">Link</a> and text
10 </h3> 10 </h3>
11 11
12 <p id="description"></p> 12 <p id="description"></p>
13 <div id="console"></div> 13 <div id="console"></div>
14 14
15 <script> 15 <script>
16 16
17 description("This tests that the aria 'presentation' role works by successfu lly removing the element from the AX tree."); 17 description("This tests that the aria 'none' role works by successfully remo ving the element from the AX tree.");
18 18
19 if (window.accessibilityController) { 19 if (window.accessibilityController) {
20 20
21 var body = document.getElementById("body"); 21 var body = document.getElementById("body");
22 body.focus(); 22 body.focus();
23 23
24 var firstChild = accessibilityController.focusedElement.childAtIndex(0 ); 24 var firstChild = accessibilityController.focusedElement.childAtIndex(0 );
25 shouldBe("firstChild.role", "'AXRole: AXLink'"); 25 shouldBe("firstChild.role", "'AXRole: AXLink'");
26 } 26 }
27 27
28 </script> 28 </script>
29 29
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-none-role-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698