Thanks to Andrew Pulley (@apulley) for the puppeteer / axe integration code
You can view the live application here
- clone the repo:
- inside the cloned repo install the server and UI dependencies:
npm run installBoth
- build the client (UI) static files:
npm run build
- run the application locally:
npm start
- visit http://localhost:8087 to see the site running locally
- Build the container
docker build -t accessibility-checker .
- Run the container
docker run --privileged -p 8087:8087 --name accessibility-checker -d accessibility-checker
- Visit http://localhost:8087 to view the app
- SSH into container:
docker exec -it accessibility-checker bash
- Stop container:
docker stop accessibility-checker
- Remove container:
docker rm accessibility-checker
- View container logs:
docker logs accessibility-checker
- Remove dangling images:
docker image prune
Example URL to analyze: https://dequeuniversity.com/demo/mars/