OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <script src="../resources/js-test.js"></script> |
| 3 <script src="../resources/accessibility-helper.js"></script> |
| 4 <a href="http://www.chromium.org">Visit Chromium</a> |
| 5 <a id="mousedown" onmousedown="mouseDown()">Click the text!</a> |
| 6 <button type="button">Button</button> |
| 7 <details> |
| 8 <summary>Copyright 2015.</summary> |
| 9 <p>The Chromium Authors. All rights reserved.</p> |
| 10 </details> |
| 11 <input list="fruits"> |
| 12 <datalist id="fruits"> |
| 13 <option value="Apple"> |
| 14 <option value="Banana"> |
| 15 </datalist> |
| 16 <input type="button" value="Click input button"> |
| 17 <input type="checkbox" value="CheckBox"> I have a checkbox |
| 18 <input type="radio" value="Radio"> Radio |
| 19 <input type="radio" value="Button"> Button |
| 20 <menu> |
| 21 <input type="button" role="button" value="Click menuitem"> |
| 22 <input type="checkbox" name="vehicle" value="menuItemCheckbox"> I have a menuI
tem |
| 23 <input type="radio" name="gender" value="Menu"> Menu |
| 24 <input type="radio" name="gender" value="ItemRadio"> ItemRadio |
| 25 </menu> |
| 26 Birthday: <input type="date" name="bday"> |
| 27 Birthday (date and time): <input type="datetime" name="bdaytime"> |
| 28 Birthday (date and time): <input type="datetime-local" name="bdaytime"> |
| 29 Birthday (month and year): <input type="month" name="bdaymonth"> |
| 30 Select a week: <input type="week" name="week_year"> |
| 31 Select a file: <input type="file" name="img"> |
| 32 Min-Max: <input type="number" min="1" max="5"> |
| 33 <input type="range" name="points" min="0" max="10"> |
| 34 Select your favorite color: <input type="color" name="color"> |
| 35 Select a time: <input type="time" name="time"> |
| 36 <input type="reset"> |
| 37 <select> |
| 38 <option value="Pacific">Pacific</option> |
| 39 <option value="Atlantic">Atlantic</option> |
| 40 <option value="Indian">Indian</option> |
| 41 <option value="Southern">Southern</option> |
| 42 <option value="Arctic">Arctic</option> |
| 43 </select> |
| 44 <select multiple> |
| 45 <option value="Milk">Milk</option> |
| 46 <option value="Soda">Soda</option> |
| 47 <option value="Coffee">Coffee</option> |
| 48 <option value="Water">Water</option> |
| 49 </select> |
| 50 <textarea rows="2" cols="5"> |
| 51 TextArea |
| 52 </textarea> |
| 53 <meter value="0.6">60%</meter> |
| 54 <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 |
| 55 <input type="range" id="a" value="50">100 |
| 56 +<input type="number" id="b" value="50"> |
| 57 =<output name="x" for="a b"></output> |
| 58 </form> |
| 59 <form> |
| 60 <label for="blue">Blue</label> |
| 61 <input type="radio" name="color" id="blue" value="blue"> |
| 62 <label for="red">Red</label> |
| 63 <input type="radio" name="color" id="red" value="red"> |
| 64 </form> |
| 65 <fieldset> |
| 66 <legend>Text Input Controls</legend> |
| 67 Text: <input type="text" name="texttest"><br> |
| 68 Password: <input type="password" name="passtest"><br> |
| 69 </fieldset> |
| 70 <p>End of test</p> |
| 71 <p id="description"></p> |
| 72 <div id="console"></div> |
| 73 <script> |
| 74 description("This test make sure that focusable elements are mapped implicitly t
o AX roles."); |
| 75 |
| 76 if (window.testRunner) |
| 77 testRunner.dumpAsText(); |
| 78 if (window.accessibilityController) |
| 79 buildAccessibilityTree(accessibilityController.focusedElement, 0, 1); |
| 80 </script> |
| 81 </html> |
OLD | NEW |