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

Side by Side Diff: LayoutTests/accessibility/aria-fallback-roles.html

Issue 1022673003: Implementation of new roles added in ARIA 1.1 draft. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing change to latest Created 5 years, 9 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 | Source/modules/accessibility/AXLayoutObject.cpp » ('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 <span tabindex="0" id="test" role="unknownrole switch checkbox" aria-checked="tr ue">test</span> 8 <span tabindex="0" id="test" role="unknownrole checkbox" aria-checked="true">tes t</span>
9 9
10 <p id="description"></p> 10 <p id="description"></p>
11 <div id="console"></div> 11 <div id="console"></div>
12 12
13 <script> 13 <script>
14 14
15 description("This tests that aria fallback roles work correctly."); 15 description("This tests that aria fallback roles work correctly.");
16 if (window.accessibilityController) { 16 if (window.accessibilityController) {
17 17
18 if (window.accessibilityController) { 18 if (window.accessibilityController) {
19 19
20 var test = document.getElementById("test"); 20 var test = document.getElementById("test");
21 test.focus(); 21 test.focus();
22 test = accessibilityController.focusedElement; 22 test = accessibilityController.focusedElement;
23 23
24 debug("Role should be: " + test.role); 24 debug("Role should be: " + test.role);
25 } 25 }
26 } 26 }
27 </script> 27 </script>
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698