| <script src="../resources/js-test-pre.js"></script> |
| <p role="button" id="description"></p> |
| if (window.accessibilityController) { |
| description("This test checks that the <html> element is not the AX tree (ever), even when it has an aria attribute. "); |
| var startElement = accessibilityController.accessibleElementById("description"); |
| debug("The start element should be a button."); |
| debug("startElement.role is " + startElement.role); |
| debug("\nThe parent should be the web area."); |
| debug("startElement.parentElement().role is " + startElement.parentElement().role); |
| debug("This test requires accessibilityController.") |
| <script src="../resources/js-test-post.js"></script> |