Interactive Rating Component (Vite + Typescript)

Solution retrospective
I'm always happy to practice concepts and these components and explore different ways to organise my code. I tried different things on my script file with interface, const object for the classes, getDOMElements functions to check that everything is present and throw error if not. It helped me structure and have some solid check along the way.
What challenges did you encounter, and how did you overcome them?At first I added to many aria-label on non allowed html elements. Using different browser accessibility inspectors helped me spot these issues and read further to understand what I was doing wrong. I used ARC Toolkit and AXE Core.
What specific areas of your project would you like help with?Accessibility in general. I tested with keyboard and voiceover but if you have other screen reader or other assistive web browser I'd love to have your feedback.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gwenaël Magnenat's solution.
Join 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