Skip to content

"level" configuration appears to be ignored #94

Open
@cadecairos

Description

@cadecairos

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 notices
  • warning: exit with a code of 2 on errors and warnings, exit with a code of 0 on notices
  • notice: exit with a code of 2 on errors, warnings, and notices
  • none: 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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions