Design comparison
SolutionDesign
Community feedback
- @VishikaPosted about 1 month ago
Nice solution, it matches the design quite closely!
(ignore the following you didn't do this as part of the accessibility learning path) One way you can make this more accessible is by allowing for better keyboard navigation like this
switch (event.key) { case " ": checkRating(rating); break; case "Up": case "ArrowUp": case "Left": case "ArrowLeft": checkPreviousRating(rating); break; case "Down": case "ArrowDown": case "Right": case "ArrowRight": checkNextRating(rating); break; case "Enter": submit(event); break; default: break; }
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