DEV Community

loading...

Discussion on: Scalable "star rating" without JS (and no SVG or image for the star)

Collapse
virejdasani profile image
Virej Dasani

This looks great, might I suggest, the black outline, when clicking the stars, doesn't need to be there

Collapse
afif profile image
Temani Afif Author

you can easily remove it but it's useful for accessibility, when you navigate using keyboard you can easily see where you are. People tend to always remove the outline from buttons and other elements but they are important.