Thanks for this! I'm curious about opacity: 0 instead of display: none for the original radio button. Is this because screen readers are still using the original/hidden radio button?
I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
Thanks for this! I'm curious about
opacity: 0
instead ofdisplay: none
for the original radio button. Is this because screen readers are still using the original/hidden radio button?That's correct! I would check out @scottohara 's post about why: scottohara.me/blog/2017/04/14/incl...