Closed AdamDomagalsky closed 2 years ago
You are looking at the documentation of the master branch. Switch to tag 2.4.2 in the Github UI and you see that there is no support for reporters in the last stable release.
I don't know what is holding back the next release. I am waiting for the reporters to use pa11ly-ci in my CI.
Support for reporters is available in Pa11y-ci@3.0.0.
pa11y-ci:2.4.2
According to reporters documentation, there shall be option for html reporter by defining via 2 options:
pa11y-ci --config config.json --sitemap http://web:3000/sitemap.xml
pa11y-ci --config config.json --sitemap http://web:3000/sitemap.xml --html
pa11y-ci --config config.json --sitemap http://web:3000/sitemap.xml --reporter=pa11y-reporter-html
config.json: