blob: c5cfd67d1ae408e85e6ed6389aaac96700c99b42 [file] [edit]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/accessibility-helper.js"></script>
<script src="../resources/js-test.js"></script>
</head>
<body aria-hidden="true">
<button id="button">Submit</button>
<script>
var output = "This test ensures that aria-hidden='true' is not respected on the body element.\n\n";
if (window.accessibilityController) {
output += expect("accessibilityController.accessibleElementById('button').role.toLowerCase().includes('button')", "true");
debug(output);
}
</script>
</body>
</html>