| Index: content/test/data/accessibility/aria/aria-sort-html-table.html
|
| diff --git a/content/test/data/accessibility/aria/aria-sort-html-table.html b/content/test/data/accessibility/aria/aria-sort-html-table.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42022485f1de7f427c7e20002cb90aa17a70e180
|
| --- /dev/null
|
| +++ b/content/test/data/accessibility/aria/aria-sort-html-table.html
|
| @@ -0,0 +1,148 @@
|
| +<!--
|
| +@MAC-ALLOW:AXSortDirection*
|
| +@WIN-ALLOW:sort:*
|
| +-->
|
| +<html>
|
| +<body>
|
| +<!-- HTML table with a row header. -->
|
| +
|
| +<!-- No sorting (implicit). -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th>Alphabet</th>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| + <tr>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- No sorting (explicit). -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="none">Alphabet</th>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| + <tr>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Ascending. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="ascending">Alphabet</th>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| + <tr>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Descending. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="descending">Alphabet</th>
|
| + </tr>
|
| + <tr>
|
| + <td>B</td>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Unspecified. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="other">Alphabet</th>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| + <tr>
|
| + <td>A</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +
|
| +<!-- HTML table with a column header. -->
|
| +
|
| +<!-- No sorting (implicit). -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th>Alphabet</th>
|
| + <td>A</td>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- No sorting (explicit). -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="none">Alphabet</th>
|
| + <td>A</td>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Descending. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="ascending">Alphabet</th>
|
| + <td>A</td>
|
| + <td>B</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Descending. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="descending">Alphabet</th>
|
| + <td>B</td>
|
| + <td>A</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<!-- Unspecified. -->
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th aria-sort="other">Alphabet</th>
|
| + <td>A</td>
|
| + <td>A</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +
|
| +<!-- Attribute on non-header cell: aria-sort should not be exposed. -->
|
| +
|
| +<table summary="Data table">
|
| + <tr>
|
| + <th>Alphabet</td>
|
| + </tr>
|
| + <tr>
|
| + <td aria-sort="ascending">A</td>
|
| + </tr>
|
| + <tr>
|
| + <td>B</td>
|
| + </tr>
|
| + </tr>
|
| +</table>
|
| +
|
| +
|
| +<!-- Non-data table: aria-sort should not be exposed. -->
|
| +
|
| +<table>
|
| + <tr>
|
| + <th aria-sort="ascending">Alphabet</th>
|
| + </tr>
|
| +</table>
|
| +
|
| +</body>
|
| +</html>
|
|
|