blob: 1a975f5e6e0f95ae6577c010654727a0fb00b664 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ AttachmentElementEnabled=true ] -->
<html>
<body id="body">
<attachment id="attachment" title="title" subtitle="subtitle" action="action" progress="0.5"></attachment>
<p id="description"></p>
<div id="console"></div>
<script src="../resources/js-test-pre.js"></script>
<script>
description("This tests that attachment elements are accessible.");
if (window.accessibilityController) {
var content = accessibilityController.accessibleElementById("attachment");
debug("Attachment description: " + content.description);
debug("Attachment value: " + content.stringValue);
if (accessibilityController.platformName == "mac") {
debug("Attachment role: " + content.roleDescription);
}
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>