Submitted 6 months ago
Responsive Interactive Rating component build using React and Context
@nikbhaladhare2104
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
..
What challenges did you encounter, and how did you overcome them?..
What specific areas of your project would you like help with?..
Community feedback
- @grace-snowPosted 6 months ago
I'm afraid you need to rewrite this. Never ever add click events to non interactive elements. Think through the html more carefully. This must be a form with a fieldset of radio inputs. The group must be labelled (eg with legend or aria-labelledby) and all inputs must still be accessible. On submit the new content must be announced to screenreaders via an aria-live region or focus should move to the start of the new content.
Once you fix the markup you will need to change a load of styling as well.
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