1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../fast/js/resources/js-test-pre.js"></script>
8 <span tabindex="0" id="test" role="unknownrole switch checkbox" aria-checked="true">test</span>
10 <p id="description"></p>
11 <div id="console"></div>
15 description("This tests that aria fallback roles work correctly.");
16 if (window.accessibilityController) {
18 if (window.accessibilityController) {
20 var test = document.getElementById("test");
22 test = accessibilityController.focusedElement;
24 debug("Role should be: " + test.role);
29 <script src="../../../fast/js/resources/js-test-post.js"></script>