Closed rkrjain closed 3 years ago
@rgjain what version of node do you have?
It looks like you're running your pa11y script via npm, and npm is exiting with an error because there's an accessibility error in your tests. This looke to be the expected behavior: by default the pa11y script returns an exit code of 2 if there is an accessibility error, which npm interprets as an error with the script that was being run.
Presumably this was done this way so that when the tests were run in CI the NPM script itself would fail, which would kill the process and prevent inaccessible code or features from being pushed to whatever environment the CI is hooked up to.
Thanks for creating this issue. It looks like this is now fixed, feel free to reopen the issue if not.
I have spent hours trying to overcome this issue where the pa11y-ci ends with an error. It throws out the errors and ends with this error below
Need quick help in fixing this problem; I am blocked because of this.
this is my .pa11yci
I am just running "pa11y-ci" from the terminal.