Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / content / test / data / accessibility / aria / aria-sort-html-table.html
blob42022485f1de7f427c7e20002cb90aa17a70e180
1 <!--
2 @MAC-ALLOW:AXSortDirection*
3 @WIN-ALLOW:sort:*
4 -->
5 <html>
6 <body>
7 <!-- HTML table with a row header. -->
9 <!-- No sorting (implicit). -->
10 <table summary="Data table">
11 <tr>
12 <th>Alphabet</th>
13 </tr>
14 <tr>
15 <td>A</td>
16 </tr>
17 <tr>
18 <td>B</td>
19 </tr>
20 </table>
22 <!-- No sorting (explicit). -->
23 <table summary="Data table">
24 <tr>
25 <th aria-sort="none">Alphabet</th>
26 </tr>
27 <tr>
28 <td>A</td>
29 </tr>
30 <tr>
31 <td>B</td>
32 </tr>
33 </table>
35 <!-- Ascending. -->
36 <table summary="Data table">
37 <tr>
38 <th aria-sort="ascending">Alphabet</th>
39 </tr>
40 <tr>
41 <td>A</td>
42 </tr>
43 <tr>
44 <td>B</td>
45 </tr>
46 </table>
48 <!-- Descending. -->
49 <table summary="Data table">
50 <tr>
51 <th aria-sort="descending">Alphabet</th>
52 </tr>
53 <tr>
54 <td>B</td>
55 </tr>
56 <tr>
57 <td>A</td>
58 </tr>
59 </table>
61 <!-- Unspecified. -->
62 <table summary="Data table">
63 <tr>
64 <th aria-sort="other">Alphabet</th>
65 </tr>
66 <tr>
67 <td>A</td>
68 </tr>
69 <tr>
70 <td>A</td>
71 </tr>
72 </table>
75 <!-- HTML table with a column header. -->
77 <!-- No sorting (implicit). -->
78 <table summary="Data table">
79 <tr>
80 <th>Alphabet</th>
81 <td>A</td>
82 <td>B</td>
83 </tr>
84 </table>
86 <!-- No sorting (explicit). -->
87 <table summary="Data table">
88 <tr>
89 <th aria-sort="none">Alphabet</th>
90 <td>A</td>
91 <td>B</td>
92 </tr>
93 </table>
95 <!-- Descending. -->
96 <table summary="Data table">
97 <tr>
98 <th aria-sort="ascending">Alphabet</th>
99 <td>A</td>
100 <td>B</td>
101 </tr>
102 </table>
104 <!-- Descending. -->
105 <table summary="Data table">
106 <tr>
107 <th aria-sort="descending">Alphabet</th>
108 <td>B</td>
109 <td>A</td>
110 </tr>
111 </table>
113 <!-- Unspecified. -->
114 <table summary="Data table">
115 <tr>
116 <th aria-sort="other">Alphabet</th>
117 <td>A</td>
118 <td>A</td>
119 </tr>
120 </table>
123 <!-- Attribute on non-header cell: aria-sort should not be exposed. -->
125 <table summary="Data table">
126 <tr>
127 <th>Alphabet</td>
128 </tr>
129 <tr>
130 <td aria-sort="ascending">A</td>
131 </tr>
132 <tr>
133 <td>B</td>
134 </tr>
135 </tr>
136 </table>
139 <!-- Non-data table: aria-sort should not be exposed. -->
141 <table>
142 <tr>
143 <th aria-sort="ascending">Alphabet</th>
144 </tr>
145 </table>
147 </body>
148 </html>