DEV Community

Discussion on: Using Slice for Star Rating Effect

Collapse
ashleyjsheridan profile image
Ashley Sheridan

It would be more accessible to build the stars as a series of radio buttons. You would automatically gain keyboard functionality and it would present to screen readers as a more suitable control type.

I did something like this a while back github.com/AshleyJSheridan/accessi...

Collapse
techgirl1908 profile image
Angie Jones Author

thanks for this tip!