| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <ul><li>one</li><li>two</li></ul> |
| <ul><li>one</li><li>two</li></ul> |
| description("This tests the inclusion of objects with a title attribute."); |
| if (window.accessibilityController) { |
| document.getElementById("body").focus(); |
| var webArea = accessibilityController.focusedElement; |
| var child = webArea.childAtIndex(0); |
| shouldBe("child.role", "'AXRole: AXList'"); |
| child = webArea.childAtIndex(1); |
| shouldBe("child.role", "'AXRole: AXSection'"); |
| child = child.childAtIndex(0); |
| shouldBe("child.role", "'AXRole: AXList'"); |
| <script src="../../resources/js-test-post.js"></script> |