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

Allow to change rules type #127

Closed audriusnavickasDB closed 3 years ago

audriusnavickasDB commented 3 years ago

Hello. I believe I have a feature request as I couldn't any information regarding this.

My team would like to have an ability to set how specific rules should be treated. For example: we have a certain rule which is always treated as a warning by pa11y. However we would like to treat that rule as an error all the time.

Maybe it would be possible to allow this functionality via rules or something? For example: rules: [{name: 'Principle.1_1_1', type: 'error' }]

Awesome work and thank you for response in advance!