| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/js-test-pre.js"></script> |
| <script src="../resources/accessibility-helper.js"></script> |
| <div id="button" tabindex=0 role="button" aria-label="title" aria-help="click here"> |
| description("This tests that aria-help attribute works as expected."); |
| if (window.accessibilityController) { |
| document.getElementById("button").focus(); |
| var axButton = accessibilityController.focusedElement; |
| shouldBeEqualToString("platformValueForW3CName(axButton)", "title"); |
| shouldBeEqualToString("platformValueForW3CDescription(axButton)", "click here"); |
| document.getElementById("content").style.visibility = "hidden"; |
| <script src="../resources/js-test-post.js"></script> |