| <!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.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> | |
| </body> | |
| </html> |