OLD | NEW |
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> |
OLD | NEW |