1 <script src=
"../resources/js-test.js"></script>
2 <script src=
"../resources/accessibility-helper.js"></script>
3 <table width=
"50%" border=
"1">
8 <th scope=
"col">col head
</th>
9 <th scope=
"row">row head
</th>
13 <th scope=
"col">col head
</th>
14 <td scope=
"row">data
</td>
20 <th scope=
"col">col head
</th>
23 <table width=
"50%" border=
"1">
25 row header and column header (
1)
43 <table width=
"50%" border=
"1">
45 row header and column header (
2)
63 <table width=
"50%" border=
"1">
65 row header and column header (
3)
68 <colgroup span=
"2"></colgroup>
71 <th colspan=
"2" scope=
"colgroup">col head
</th>
74 <th scope=
"col">col head
</th>
75 <th scope=
"col">col head
</th>
78 <th scope=
"row">row head
</th>
83 <table width=
"50%" border=
"1">
85 row header and column header (
4)
88 <th rowspan=
"2" scope=
"rowgroup">row head
</th>
89 <th scope=
"col">col head
</th>
92 <th scope=
"row">row head
</th>
96 <p id=
"description"></p>
97 <div id=
"console"></div>
99 description("This tests that AXRoles for header cells are assigned.");
101 if (window
.testRunner
)
102 testRunner
.dumpAsText();
103 if (window
.accessibilityController
) {
104 buildAccessibilityTree(accessibilityController
.focusedElement
, 0, 1, ['AXColumn', 'AXTableHeaderContainer']);