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
519 stars 63 forks source link

Use a different runner such as Axe #95

Closed stbth01 closed 4 years ago

stbth01 commented 4 years ago

Can I change the runner for pa11y-ci to AXE I see the default is HTML CodeSniffer?

I may be missing something so I apologize, if I am. I see that with pa11y I can specify a running

pa11y --runner=axe http://localhost:4200/landing

I don't see how to change the runner with Pa11y-ci.

Thank you very much for your help (sry if I shouldn't be using issues to ask this questions)

stbth01 commented 4 years ago

Sorry dug into the repo a little more and saw how the configuration is being passed to Pa11y. I got it to work with axe by updating the defaults

    "defaults": {
        "standard": "WCAG2AAA",
        "runners": ["axe"]
    },

I think when I tried yesterday I was not passing an array.

Thanks for your work on this I really like it!!!