Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / empty-image-with-title.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body id="body">
8
9 <img id="image1" src="foo.gif" title="baz" width="100" height="100">
10 <div id="console"></div>
11
12 <script>
13
14     description("This tests that if a missing image has a title attribute, it still appears in the AX hierarchy.");
15
16     if (window.accessibilityController) {
17
18           var image1 = accessibilityController.accessibleElementById("image1");
19           debug("image1.role is " + image1.role);
20
21           var accNameWithSource = platformValueForW3CName(image1, true);
22           debug("image1's accessible name with source is " + accNameWithSource);
23     }
24
25 </script>
26
27 <script src="../resources/js-test-post.js"></script>
28 </body>
29 </html>