blob: cdb485f93bff7f4a88c9dcf7614c9ccbc61e17d9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<abbr tabindex="0" id="abbrItem" role="text" aria-label="inch">"</abbr>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that aria-label on a role='text' does not duplicate the AXValue in the AXDescription");
if (window.accessibilityController) {
document.getElementById("abbrItem").focus();
shouldBe("accessibilityController.focusedElement.description", "'AXDescription: '");
shouldBe("accessibilityController.focusedElement.stringValue", "'AXValue: inch'");
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>