liip / TheA11yMachine

The A11y Machine is an automated accessibility testing tool which crawls and tests pages of any web application to produce detailed reports.
https://www.liip.ch/
621 stars 66 forks source link

downgraded the HTML_CodeSniffer version to fix the own sniffer build #121

Open JonasHillerDkd opened 5 years ago

Hywan commented 5 years ago

Thanks for the PR!

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

JonasHillerDkd commented 5 years ago

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