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

Side by Side Diff: LayoutTests/accessibility/aria-labelledby-on-input.html

Issue 836553002: Accessible name not calculated properly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 10 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-labelledby-on-input-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 <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="note" title="Note:"></span>
7 <span id="message">This computer will self-destruct in</span> 8 <span id="message">This computer will self-destruct in</span>
8 <input id="time" type="text" value="10" aria-labelledby="message time unit"/ > 9 <input id="time" type="text" value="10" aria-labelledby="note message time u nit"/>
9 <span id="unit"> minutes.</span> 10 <span id="unit"> minutes.</span>
10 <div id="result"></div> 11 <div id="result"></div>
11 12
12 <script> 13 <script>
13 if (window.accessibilityController) { 14 if (window.accessibilityController) {
14 var labeledItem = document.getElementById("time"); 15 var labeledItem = document.getElementById("time");
15 labeledItem.focus(); 16 labeledItem.focus();
16 var result = document.getElementById("result"); 17 var result = document.getElementById("result");
17 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.description + "\""; 18 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.description + "\"";
18 } 19 }
19 </script> 20 </script>
20 </body> 21 </body>
21 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-labelledby-on-input-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698