Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 11 months ago

Interactive Rating Component (Vite + Typescript)

sass/scss, vite, typescript
Gwenaël Magnenat•1,540
@gmagnenat
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

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.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License