squizlabs / HTML_CodeSniffer

HTML_CodeSniffer is a client-side JavaScript application that checks a HTML document or source code, and detects violations of a defined coding standard. Comes with standards that cover the three conformance levels of the W3C's Web Content Accessibility Guidelines (WCAG) 2.0 and the U.S. Section 508 legislation.
https://squizlabs.github.io/HTML_CodeSniffer/
BSD 3-Clause "New" or "Revised" License
1.12k stars 246 forks source link

Define Errors, Warnings & Notices #313

Open mgifford opened 1 year ago

mgifford commented 1 year ago

Would be really valuable to know how htmlcs defines errors, warnings and notices. I couldn't find any documentation on this. Is there a list of rules or something? I assume errors are things the code is sure about, warnings need human verification and notices are ??

This is good http://squizlabs.github.io/HTML_CodeSniffer/Standards/WCAG2/

But would like to know how they are categorized.