Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component

@kaoutar-ouadih

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I'm proud of completing this challenge!

What challenges did you encounter, and how did you overcome them?

.

What specific areas of your project would you like help with?

Anything that can help me improve.

Community feedback

P
vcollins1 410

@vcollins1

Posted

You could make selecting a rating more accessible by adding a role to your list of buttons, and adding a role of radio to each button. Also, an aria-label can be added to the ul so that a screen reader will announce what the group is for.

<ul role="radiogroup" aria-label="rating 1 to 5">
    <li><button role="radio">1</button>
    ....
</ul>
0

Please log in to post a comment

Log in with GitHub
Discord logo

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