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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
content / test / data / accessibility / aria / aria-treegrid.html [blame]
<!--
@AURALINUX-ALLOW:level*
@AURALINUX-ALLOW:xml-roles:*
@AURALINUX-ALLOW:setsize*
@AURALINUX-ALLOW:posinset*
@BLINK-ALLOW:hierarchicalLevel*
@BLINK-ALLOW:setSize*
@BLINK-ALLOW:posInSet*
@MAC-ALLOW:AXARIASetSize
@MAC-ALLOW:AXARIAPosInSet
@MAC-ALLOW:AXIndex
@MAC-ALLOW:AXRole=*
@MAC-ALLOW:
@UIA-WIN-ALLOW:Level*
@UIA-WIN-ALLOW:PositionInSet*
@UIA-WIN-ALLOW:SizeOfSet*
@WIN-ALLOW:level*
@WIN-ALLOW:setsize*
@WIN-ALLOW:posinset*
@WIN-ALLOW:xml-roles:*
-->
<!DOCTYPE html>
<html>
<body>
<table role="treegrid">
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, level 1</td>
<td role="gridcell">Cell 2, row 1, level 1</td>
</tr>
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 2, level 1</td>
<td role="gridcell">Cell 2, row 2, level 1</td>
</tr>
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 3, level 1</td>
<td role="gridcell">Cell 2, row 3, level 1</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 1, level 2</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 2, level 2</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 3, level 2</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 4, level 2</td>
</tr>
<tr role="row" aria-level="3" tabindex=-1>
<td role="gridcell">Cell 1, row 2, level 2</td>
</tr>
</table>
<table role="treegrid">
<tbody role="rowgroup">
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 1</td>
</tr>
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 2, rowgroup 1, level 1</td>
</tr>
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 3, rowgroup 1, level 1</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 2</td>
</tr>
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 1</td>
</tr>
</tbody>
<tbody role="rowgroup">
<tr role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 2, level 1</td>
<td role="gridcell">Cell 2, row 1, rowgroup 2, level 1</td>
</tr>
<tr role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 2, level 2</td>
<td role="gridcell">Cell 2, row 1, rowgroup 2, level 2</td>
<td role="gridcell">Cell 3, row 1, rowgroup 2, level 2</td>
</tr>
</tbody>
</table>
<div role="treegrid">
<div>
<div role="rowgroup">
<div role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 1</td>
</div>
<div role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 2, rowgroup 1, level 1</td>
</div>
<div role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 3, rowgroup 1, level 1</td>
</div>
<div role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 2</td>
</div>
<div role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 1, level 1</td>
</div>
</div>
<div role="rowgroup">
<div role="row" aria-level="1" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 2, level 1</td>
<td role="gridcell">Cell 2, row 1, rowgroup 2, level 1</td>
</div>
<div role="row" aria-level="2" tabindex=-1>
<td role="gridcell">Cell 1, row 1, rowgroup 2, level 2</td>
<td role="gridcell">Cell 2, row 1, rowgroup 2, level 2</td>
<td role="gridcell">Cell 3, row 1, rowgroup 2, level 2</td>
</div>
</div>
</div>
</div>
</body>
</html>