Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to individual codes for WCAG2 online documentation #302

Open
filippog opened this issue Oct 16, 2021 · 1 comment
Open

Links to individual codes for WCAG2 online documentation #302

filippog opened this issue Oct 16, 2021 · 1 comment

Comments

@filippog
Copy link

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!

@Zauberbutter
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants