dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
866ff31
)
Accessibility: make columnheader the primary role of the element
author
Derk-Jan Hartman
<hartman@videolan.org>
Wed, 7 Aug 2013 15:22:59 +0000
(17:22 +0200)
committer
TheDJ
<hartman.wiki@gmail.com>
Wed, 7 Aug 2013 15:34:33 +0000
(15:34 +0000)
The role attribute overrides implicit roles. Since here the
columnheader role of the th is more important than the secondary role
of being a button, we should force it explicitly in that order.
Follow up of: I2b937eba605b7e6a98612a02c75eb9e7f3477527
Change-Id: I07211263876a58c62e5a349eab6f78e43d412680
resources/jquery/jquery.tablesorter.js
patch
|
blob
|
history
diff --git
a/resources/jquery/jquery.tablesorter.js
b/resources/jquery/jquery.tablesorter.js
index
115a49a
..
cac056e
100644
(file)
--- a/
resources/jquery/jquery.tablesorter.js
+++ b/
resources/jquery/jquery.tablesorter.js
@@
-347,7
+347,7
@@
.addClass( table.config.cssHeader )
.prop( 'tabIndex', 0 )
.attr( {
.addClass( table.config.cssHeader )
.prop( 'tabIndex', 0 )
.attr( {
- role: 'button',
+ role: '
columnheader
button',
title: msg[1]
} );
}
title: msg[1]
} );
}