1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../resources/js-test.js"></script>
8 <span tabindex=
"0" id=
"test" role=
"unknownrole 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
);