mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: Add role to filter row for screen readers. See #697
This commit is contained in:
parent
2d5ff1c203
commit
94fd41758c
@ -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>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user