From Brad Traversy video ussing p11y
This project uses pa11y
with nodejs to create a simple API/back-end to get the results for a website and then display the results in the DOM for review. Use fetch()
to make the request, add a loading spinner, and use Bootstrap for the styling.
npm init -y
npm i express pa11y
You can create an env variable for the port or go with the default of 5000
from index.js
. Run npm start
and open localhost:5000
. Finally, add a url to the form and submit and you'll see the results below.
Well, the purpose should be obvious, but this project is a great idea and was easy. Use this tool to fix all accessibility issues on:
- Your website pages
- Your portfolio pages
- The pages for your employer
- The pages for your clients