squizlabs/HTML_CodeSniffer

Links to individual codes for WCAG2 online documentation

Opened this issue · 1 comments

Hi,
thank you for HTML_CodeSniffer!

I'm using it as part of https://github.com/pa11y/pa11y HTML reporter in CI, and I'd like to be able to check the documentation for each code reported. I'm using https://squizlabs.github.io/HTML_CodeSniffer/Standards/WCAG2/ as a reference to understand more about each code. At the moment I'm searching the page while fixing issues, and I have not found a way to be able to reference a specific code from the page's URL. This would enable for example external code sniffer users/reports to point directly to the code's documentation.

Thank you!

I am using this code to parse some WCAG information from the issue codes: https://gist.github.com/Zauberbutter/7482ba61b9ae0d29a16f09921c7cddb5
Then I am using this package https://github.com/Zauberbutter/wcag-reference to create links to the WCAG documents.