pa11y-dashboard
pa11y-dashboard copied to clipboard
Ignore Rules Only Apply to Errors
It seems like ignored rules only apply to errors. Is there a way to set rules in the ignore list to be ignored throughout the system (ie. in Errors, Warnings, and Notices)?

Hi @jbuck94, this is odd – Pa11y should ignore warnings and notices as well as errors. I'll take a look for you
Thanks! It's only on the dashboard - works correctly when using the CLI.
For me it appears to ignore the fact that I have told it to ignore a rule.
Actually looking at this again the ignored rule does not match the code of the error, which is why it's still appearing. It may be that you need to check multiple boxes in the ignored rules section of the task?
Ignore rules do not seem to be applied for rules of type: WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.[NodeName].Name
I am currently ignoring Principle 4 as I will be working on that later, but Pa11y is still checking against Principle 4
Highlighted errors are of type [NodeName].Name:

Ignore List:

Ah OK, looks like our list of rules is incomplete, we probably need an entry for each type of node.
Can we just make the parser smart enough to check the ignored rules and if they contain [NodeName] ignore for all node types?