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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/aria-describedby-on-input.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <body> 6 <body>
7 <span id="message">This computer will self-destruct in</span> 7 <span id="message">This computer will self-destruct in</span>
8 <input id="time" type="text" value="10" aria-describedby="description"/> 8 <input id="time" type="text" value="10" aria-describedby="description"/>
9 <span id="unit"> minutes.</span> 9 <span id="unit"> minutes.</span>
10 <div id="description">Allows you to specify the number of minutes after whic h the computer will self-destruct.</div> 10 <div id="description">Allows you to specify the number of minutes after whic h the computer will self-destruct.</div>
11 <div id="result"></div> 11 <div id="result"></div>
12 12
13 <script> 13 <script>
14 if (window.accessibilityController) { 14 if (window.accessibilityController) {
15 var labeledItem = document.getElementById("time"); 15 var labeledItem = document.getElementById("time");
16 labeledItem.focus(); 16 labeledItem.focus();
17 var result = document.getElementById("result"); 17 var result = document.getElementById("result");
18 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.deprecatedHelpText + "\""; 18 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.description + "\"";
19 } 19 }
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698