| <script src="../../../fast/js/resources/js-test-pre.js"></script> |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| This test verifies that, on Windows, lists return the "list" role. |
| <a href="https://bugs.webkit.org/show_bug.cgi?id=32736">Bug 32736 - REGRESSION(r52233): MSAA: Accessibility role of lists is wrong</a> |
| <ul id="list" tabindex=1> |
| if (window.accessibilityController) { |
| document.getElementById("list").focus(); |
| var list = accessibilityController.focusedElement; |
| shouldBe('list.role', '"list"'); |