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