Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / aria-fallback-roles.html
blobfaffcb7bfcf0002d116e10563970cd4fe59d6c3f
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
8 <span tabindex="0" id="test" role="unknownrole checkbox" aria-checked="true">test</span>
10 <p id="description"></p>
11 <div id="console"></div>
13 <script>
15 description("This tests that aria fallback roles work correctly.");
16 if (window.accessibilityController) {
18 if (window.accessibilityController) {
20 var test = document.getElementById("test");
21 test.focus();
22 test = accessibilityController.focusedElement;
24 debug("Role should be: " + test.role);
27 </script>
29 </body>
30 </html>