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