Open
Description
According to the pa11y documentation you should be able to pass level
in your configuration file to support a few different use-cases:
error
: exit with a code of 2 on errors only, exit with a code of 0 on warnings and noticeswarning
: exit with a code of 2 on errors and warnings, exit with a code of 0 on noticesnotice
: exit with a code of 2 on errors, warnings, and noticesnone
: always exit with a code of 0
This does not appear to be respected by pa11y-ci: https://github.com/pa11y/pa11y-ci/blob/master/bin/pa11y-ci.js#L94-L98
In our use-case, we'd like to configure pa11y-ci to with level
set to "none"
so that we can view errors in accessibility, fix them, and once we hit 0, then change level
to "error"