We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b593a7 commit 2b44965Copy full SHA for 2b44965
packages/react-bootstrap-table2/src/header-cell.js
@@ -77,6 +77,7 @@ class HeaderCell extends eventDelegater(React.Component) {
77
78
if (sort) {
79
const customClick = cellAttrs.onClick;
80
+ cellAttrs['aria-label'] = sorting ? `${text} sort ${sortOrder}` : `${text} sortable`;
81
cellAttrs.onKeyUp = (e) => {
82
if (e.key === 'Enter') {
83
onSort(column);
0 commit comments