gulp-axe-webdriver icon indicating copy to clipboard operation
gulp-axe-webdriver copied to clipboard

Custom reporters

Open dgateles opened this issue 5 years ago • 6 comments

I would like to know how to create a custom report to show the content of json on html format

dgateles avatar Apr 17 '19 11:04 dgateles

hi, do you mean to transform the report in json format to HTML?

felixzapata avatar Apr 17 '19 12:04 felixzapata

Yeah

dgateles avatar Apr 17 '19 17:04 dgateles

hi, currently the plugin is not prepare to format the output as HTML. I mean, you can modify the saveOutputIn option and set an HTML file instead of a JSON but you will only obtain a file with HTML extension and the report inside it.

Sorry, at the moment I have no plan to add this feature. Maybe if there more requests about that or if I would receive a pull request with the change.

felixzapata avatar Apr 20 '19 08:04 felixzapata

Maybe a possibility to create a custom reporter would be nice, because we have a possibility to display all report with Allura and others. Some plugins have this option, Axe have this option but not as a gulp task.

dgateles avatar Apr 22 '19 18:04 dgateles

I was looking for the option on the axe-core repository but I didn't find it. Where is the option?

felixzapata avatar Apr 23 '19 05:04 felixzapata

Here: https://github.com/dequelabs/axe-core/blob/develop/doc/examples/html-handlebars.md

dgateles avatar Apr 23 '19 11:04 dgateles