I’m having some accesibility issues though. Even though there is a tabindex=0 on the toggle-buttons I’m not able to activate them with the keyboard. I’ve added “:focus” to the class to see if the keyboard can catch it, but it doesn’t seem like it. Is there any way, I can make the buttons accessible by keyboard?
When I force focus on the buttons, I can see that the CSS works fine.
Also.. How do I handle the CSS of a selected toggle-button?
Yes of course. There is a state of the toggle buttons, where you can see which one of them is selected. When I put my costum CSS on the buttons, they are all the same with no indication of which one of them is active.