Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / table-title.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <title>Table Title</title>
6 </head>
7 <body>
8
9 <table border="1" id="table">
10 <caption>High Scores</caption>
11 <tr>
12 <th>Score</th>
13 <th>Name</th>
14 </tr>
15 <tr>
16 <td>9999</td>
17 <td>Bill</td>
18 </tr>
19 <tr>
20 <td>9998</td>
21 <td>Ted</td>
22 </tr>
23 </table>
24
25 <p id="description"></p>
26 <div id="console"></div>
27
28 <script>
29     description("This tests that table AXTitle is exposed correctly.");
30     
31     if (window.accessibilityController) {
32         var table = accessibilityController.accessibleElementById("table");
33         
34         shouldBe("table.title", "'AXTitle: High Scores'");
35     }
36 </script>
37
38 <script src="../resources/js-test-post.js"></script>
39 </body>
40 </html>