DataTables sorting not working with Space key
DataTables sorting not working with Space key
harshit
Posts: 2Questions: 1Answers: 0
DataTables sorting not working with Space key, what additional code i have to add to make it accessible.
This discussion has been closed.
Answers
I don't understand the question. How is the space bar relevant to sorting?
If you mean in the header, you can use the Enter key to change the sorting. If you want space to trigger the ordering, you would need to define your own
keyup
handler on those elements.Colin
For accessibility support keyboard user can use spacebar.