Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / aria-labelledby-on-input.html
blobf8cff7234882fdc03e6dafae75fb5e2386768778
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body>
7 <span id="note" title="Note:"></span>
8 <span id="message">This computer will self-destruct in</span>
9 <input id="time" type="text" value="10" aria-labelledby="note message time unit"/>
10 <span id="unit"> minutes.</span>
11 <div id="result"></div>
13 <script>
14 if (window.accessibilityController) {
15 var labeledItem = document.getElementById("time");
16 labeledItem.focus();
17 var result = document.getElementById("result");
18 result.innerText = "\nThe accessibility description is \"" + accessibilityController.focusedElement.deprecatedDescription + "\"";
20 </script>
21 </body>
22 </html>