DEV Community

Cover image for Tutorial: Create an accessible rating plugin
Claudia Romano for CodyHouse

Posted on

Tutorial: Create an accessible rating plugin

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:

Here's the video tutorial:

Originally published on CodySchool

Top comments (1)

Collapse
 
rainocode profile image
rainocode

Accessibility is a crucial aspect of web development, and creating inclusive experiences should be a priority for all website owners and developers. In this comprehensive tutorial, we'll guide you through the process of building an accessible rating plugin for WordPress from scratch. By following along, you'll learn how to create a rating system that complies with accessibility standards, making it easy for all users, including those with disabilities, to interact with and utilize.for more information visit site rainocode.com/blog/accessible-rati...