| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/js-test.js"></script> |
| <label tabindex=0 onclick="finishJSTest()" id="labelElement">label</label> |
| description("This tests that a label element without a corresponding control will perform a press action on itself instead of nothing."); |
| if (window.accessibilityController) { |
| document.getElementById("body").focus(); |
| var body = accessibilityController.focusedElement; |
| var label = body.childAtIndex(0).childAtIndex(0); |
| // if successful, performEvent() will be called and we'll successfully parse. |