TheA11yMachine icon indicating copy to clipboard operation
TheA11yMachine copied to clipboard

downgraded the HTML_CodeSniffer version to fix the own sniffer build

Open JonasHillerDkd opened this issue 6 years ago • 2 comments

JonasHillerDkd avatar Sep 13 '18 13:09 JonasHillerDkd

Thanks for the PR!

What's the error you're trying to fix?

Hywan avatar Sep 14 '18 13:09 Hywan

If you want to generate a sniffer, from your own defined HTML_CodeSniffer standard with the command line tool you'll become a an JS error, see https://github.com/liip/TheA11yMachine/issues/111. This is a result of a basic structure change from the html_CodeSniffer.

old structur of a standard (with the old one the sniffer genration works) `window.HTMLCS_WCAG2AAA'

new: '_global.HTMLCS_WCAG2AAA`

so i downgraded the HTML_CodeSniffer

JonasHillerDkd avatar Sep 14 '18 13:09 JonasHillerDkd