1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
content / test / data / accessibility / event / tfoot-focus.html [blame]
<!DOCTYPE html>
<html>
<body>
<table border=1>
<thead id="thead" tabindex="0" aria-label="thead">
<tr>
<th>Sum</th>
<th>Subtraction</th>
</tr>
</thead>
<tfoot id="tfoot" tabindex="0" aria-label="tfoot">
<tr>
<td>12</td>
<td>3</td>
</tr>
</tfoot>
<tbody id="tbody" tabindex="0" aria-label="tbody">
<tr>
<td>10</td>
<td>7</td>
</tr>
<tr>
<td>2</td>
<td>4</td>
</tr>
</tbody>
</table>
<script>
function go() {
document.querySelector('tfoot').focus();
}
</script>
</body>
</html>