Filter: Add role to filter row for screen readers. See #697

This commit is contained in:
Mottie 2014-07-30 12:29:26 -05:00
parent 2d5ff1c203
commit 94fd41758c

View File

@ -790,7 +790,7 @@ ts.filter = {
var col, column, $header, buildSelect, disabled, name, ffxn, var col, column, $header, buildSelect, disabled, name, ffxn,
// c.columns defined in computeThIndexes() // c.columns defined in computeThIndexes()
columns = c.columns, columns = c.columns,
buildFilter = '<tr class="' + ts.css.filterRow + '">'; buildFilter = '<tr role="row" class="' + ts.css.filterRow + '">';
for (column = 0; column < columns; column++) { for (column = 0; column < columns; column++) {
buildFilter += '<td></td>'; buildFilter += '<td></td>';
} }