Skip to content

Commit e31b5eb

Browse files
committed
set tabindex to 0 for table headers; fixes #955
1 parent 60eb47d commit e31b5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-bootstrap-table2/src/header-cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const HeaderCell = (props) => {
4141
const cellAttrs = {
4242
..._.isFunction(headerAttrs) ? headerAttrs(column, index) : headerAttrs,
4343
...headerEvents,
44-
tabIndex: index + 1
44+
tabIndex: 0
4545
};
4646

4747
let sortSymbol;

0 commit comments

Comments
 (0)