Design comparison
SolutionDesign
Solution retrospective
My focus was on learning React so I neglected the accessibility of the rating selector. To get it working I made it from divs and event listeners.
I think radio buttons are the proper native form element for this purpose, but I have never styled one to look anything like this challenge.
- Any suggestions of a better implementation from an a11y perspective?
- Is there any aria tags that could be applied for this component case?
Community feedback
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