Tutorial: Create an accessible rating plugin
Claudia Romano
Posted on January 2, 2020
In this tutorial, we'll go through the different steps of creating a rating plugin in CSS and JavaScript, with a particular focus on:
- keyboard accessibility (use Tab key, Space bar and arrow keys to navigate and interact with the component);
- aria attributes and roles to improve Screen Reader accessibility;
- no JavaScript support.
Final result:
The Rating plugin is also available as a component in the CodyHouse UI Framework.
To follow along the tutorial, fork this pen on Codepen:
š¹ codepen.io/codyhouse/pen/Wqvpmm
or download CodyFrame on Github:
- š¦ Framework github.com/CodyHouse/codyhouse-framework
- šØ A1 Theme github.com/CodyHouse/a1-codyframe-theme
Here's the video tutorial:
Originally published on CodySchool
š šŖ š
š©
Claudia Romano
Posted on January 2, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.