Design comparison
SolutionDesign
Community feedback
- @grace-snowPosted over 1 year ago
I'm afraid you need to change the html in this. It must be a form with a fieldset of radio inputs. Any other markup for this design poses significant accessibility issues
Once that is done you'd need to
- update styling to accessibly hide the inputs and ensure focus visible and checked states work for keyboard users
- update js to only listen for a form submit. The form should not submit until a required radio has been checked
To make this fully accessible there is more to consider as well but that should be enough to get you started
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord