Index: LayoutTests/accessibility/role-attribute.html |
diff --git a/LayoutTests/accessibility/role-attribute.html b/LayoutTests/accessibility/role-attribute.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..839c5a812be347f9a32a4a1bfa20a674beb5e881 |
--- /dev/null |
+++ b/LayoutTests/accessibility/role-attribute.html |
@@ -0,0 +1,35 @@ |
+<script src="../resources/js-test.js"></script> |
+<script src="../resources/accessibility-helper.js"></script> |
+<ul role="radiogroup"> |
+ <li role="radio">Explicit Item 1</li> |
+ <li role="radio">Explicit Item 2</li> |
+ <li role="radio">Explicit Item 3</li> |
+</ul> |
+<ol> |
+ <li>Implicit Item 1</li> |
+ <li>Implicit Item 2</li> |
+ <li>Implicit Item 3</li> |
+</ol> |
+<select multiple role="group"> |
+ <option role="textbox">Explicit Option 1</option> |
+ <option role="textbox">Explicit Option 2</option> |
+</select> |
+<select multiple> |
+ <option>Implicit Option 1</option> |
+ <option>Implicit Option 2</option> |
+</select> |
+<progress value="22" max="100" role="status"></progress> |
+<progress value="22" max="100"></progress> |
+<input type="range" name="points" min="0" max="10" role="status"> |
+<input type="range" name="points" min="0" max="10"> |
+<p>End of test</p> |
+<p id="description"></p> |
+<div id="console"></div> |
+<script> |
+description("This tests that the role attribute is not missed."); |
+ |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+if (window.accessibilityController) |
+ buildAccessibilityTree(accessibilityController.focusedElement, 0, 1); |
+</script> |