Description
A user navigating the table with the keyboard (i.e., with the tab key + enter key) cannot trigger the sort functionality.
To Reproduce
You can see this behavior in the Storybook example.
https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Sort%20Table&selectedStory=Enable%20Sort&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel
tab keyenter keyI expect the column to sort, but it does not do anything.
Hack/Workaround
I found a workaround for this issue with the following:
button tagThis workaround is not ideal, however.
ok someone open the PR for this, I will review it ASAP, thanks!
fixed this in newest version: https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2020/02/09/version-bump.html
Hello,
Do either of you know if the row select boxes are keyboard accessible? I can focus on them with the tab key, but i cannot select/unselect the row by pressing enter, it only registers a mouse click.
It seems like this would be a breaking bug for accessibility as well.
@jmmadsen Maybe a bit late but to answer your question: to select/unselect a box in the focussed row with keyboard use space
Most helpful comment
fixed this in newest version: https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2020/02/09/version-bump.html