Submitted
Rating component build with React
- HTML
- CSS
- JS
My focus was on learning React so I neglected the accessibility of the rating selector. To get it working I made it from divs and event listeners.
I think radio buttons are the proper native form element for this purpose, but I have never styled one to look anything like this challenge.
- Any suggestions of a better implementation from an a11y perspective?
- Is there any aria tags that could be applied for this component case?