Customise radio buttons without compromising accessibility

Here’s a nifty post by Chen Hui Jing where she walks us through her process for making radio buttons accessible via keyboard. I particularly enjoyed this bit where she discusses the four options that are available to us to hide the radio input and replace them with a selection of cards that act like toggles instead:
Most of us mess up the keyboard navigation portion of things when we hide the input element. There are several ways to make something …
The post Customise radio buttons without compromising accessibility appeared first on CSS-Tricks.

Link: https://www.chenhuijing.com/blog/customise-radios-without-compromising-accessibility/#%F0%9F%8E%B9