How do I change the button html from a :before to an actual button
How do I change the button html from a :before to an actual button
stephendesjardins
Posts: 2Questions: 1Answers: 0
Hello everyone,
I'm using responsive tables with the collapse feature. Datable table used the :before selector to display the button (+). Anyway to change this with the api and use and actual button for accessibility issues?
Thanks!
This discussion has been closed.
Answers
In terms of accessibility, you can tab through the table and press the return key to activate / deactivate the child rows.
At the moment I don't think there is actually a way of using a specific button. There might be, but I can't think of its at the moment! This is the closest I could get, but the return key will activate twice, which is no use.
Allan
Thank you Allan! I really appreciate your message, i'll see what I can do with your example. I'll post here if I find a solution