This repository provides a DDEV add-on for the Pa11y service. Pa11y is an automated accessibility testing tool that helps developers make their web applications more accessible.
This is optimized for Aljibe projects, but can be used in any DDEV project.
In DDEV, addons can be installed from the command line using the ddev get
command, for example, ddev get Metadrop/ddev-pa11y
.
- The fundamental contents of the Pa11y addon. For example, in this template there is a docker-compose.pa11y.yaml file.
- An install.yaml file that describes how to install the Pa11y service.
- A test suite in test.bats that makes sure the Pa11y service continues to work as expected.
- Github actions setup so that the tests run automatically when you push to the repository.
- Install the Pa11y service in your DDEV project by running
ddev get Metadrop/ddev-pa11y
. - Start the DDEV project with
ddev start
orddev restart
if already started. - Run the Pa11y service with
ddev pa11y http://metadrop.net --reporter=junit --standard WCAG2A
.
Contributed and maintained by @Metadrop