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

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

Issue 1086753004: Switch LayoutTests to use renamed methods for deprecated text alternatives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add linux expectation Created 5 years, 5 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
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 <div id="button" tabindex=0 role="button" aria-label="title" aria-help="click he re"> 8 <div id="button" tabindex=0 role="button" aria-label="title" aria-help="click he re">
9 button 9 button
10 </div> 10 </div>
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 aria-help attribute works as expected."); 17 description("This tests that aria-help attribute works as expected.");
18 18
19 if (window.accessibilityController) { 19 if (window.accessibilityController) {
20 20
21 document.getElementById("button").focus(); 21 document.getElementById("button").focus();
22 var button = accessibilityController.focusedElement; 22 var button = accessibilityController.focusedElement;
23 shouldBe("button.helpText", "'AXHelp: click here'"); 23 shouldBe("button.deprecatedHelpText", "'AXHelp: click here'");
24 } 24 }
25 25
26 </script> 26 </script>
27 27
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-describedby-on-input.html ('k') | LayoutTests/accessibility/aria-help-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698