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

Get JS error with custom standard #111

Open goldi42 opened 6 years ago

goldi42 commented 6 years ago

I have tried to create a custom standard, to take only the tests which I need in my project. As template I use the example inside the resources/sniffers folder. As far I can see, the creation is successful via a11y-sniffer. But when I use this sniffer I get the error Test function errored for "http://example.dev/" I start debugging and find out that I get this JS error when the test is started. Error: HTML CodeSniffer: undefined is not an object (evaluating 'window.HTMLCS.process').

Can you have a look at this? Maybe some dependencies have been change or something else. With the original sniffer from the project everything works fine.