pa11y / pa11y-ci

Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
https://pa11y.org
GNU Lesser General Public License v3.0
515 stars 63 forks source link

reporters unknown option `--html`, `--reporter` & not working defaults.reporters in config.json #160

Closed AdamDomagalsky closed 2 years ago

AdamDomagalsky commented 2 years ago

pa11y-ci:2.4.2

According to reporters documentation, there shall be option for html reporter by defining via 2 options:

None of the below are working

  1. Within config.json>defaults>reporters
  2. Via CLI option --reporter=pa11y-reporter-html

2021-09-15 at 2 27 PM

config.json:


{
    "defaults": {
        "reporters": [
            "cli",
            "pa11y-reporter-html",
            "json"
        ],
        "chromeLaunchConfig": {
            "args": [
                "--no-sandbox"
            ]
        }
    }
}
masi commented 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.

josebolos commented 2 years ago

Support for reporters is available in Pa11y-ci@3.0.0.