OLD | NEW |
(Empty) | |
| 1 <script src="../resources/js-test.js"></script> |
| 2 <script src="../resources/accessibility-helper.js"></script> |
| 3 <ul role="radiogroup"> |
| 4 <li role="radio">Explicit Item 1</li> |
| 5 <li role="radio">Explicit Item 2</li> |
| 6 <li role="radio">Explicit Item 3</li> |
| 7 </ul> |
| 8 <ol> |
| 9 <li>Implicit Item 1</li> |
| 10 <li>Implicit Item 2</li> |
| 11 <li>Implicit Item 3</li> |
| 12 </ol> |
| 13 <select multiple role="group"> |
| 14 <option role="textbox">Explicit Option 1</option> |
| 15 <option role="textbox">Explicit Option 2</option> |
| 16 </select> |
| 17 <select multiple> |
| 18 <option>Implicit Option 1</option> |
| 19 <option>Implicit Option 2</option> |
| 20 </select> |
| 21 <progress value="22" max="100" role="status"></progress> |
| 22 <progress value="22" max="100"></progress> |
| 23 <input type="range" name="points" min="0" max="10" role="status"> |
| 24 <input type="range" name="points" min="0" max="10"> |
| 25 <p>End of test</p> |
| 26 <p id="description"></p> |
| 27 <div id="console"></div> |
| 28 <script> |
| 29 description("This tests that the role attribute is not missed."); |
| 30 |
| 31 if (window.testRunner) |
| 32 testRunner.dumpAsText(); |
| 33 if (window.accessibilityController) |
| 34 buildAccessibilityTree(accessibilityController.focusedElement, 0, 1); |
| 35 </script> |
OLD | NEW |