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

Readable format #167

Open
jholt1 opened this issue Oct 20, 2021 · 5 comments
Open

Readable format #167

jholt1 opened this issue Oct 20, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@jholt1
Copy link

jholt1 commented Oct 20, 2021

Is there a way to convert the JSON to a readable format, such as HTML?

I had a quick try with https://github.com/lpelypenko/axe-html-reporter. However, it looks like the format of the JSON here differs from the AXE format for violations.

@forsti0506 forsti0506 added the enhancement New feature or request label Oct 20, 2021
@forsti0506
Copy link
Owner

Hi,

yes the output differs. I will do it on the feature list, to implement it. Are there any wishes on it?

@jholt1
Copy link
Author

jholt1 commented Oct 21, 2021

Hello, thanks for the quick reply! No wishes apart from it being an HTML format. I guess if there are lots of pages that are checked it could become a large file, so a way for it to be broken up might be a good idea. The way that axe-html-reporter has laid out the information isn't too bad.

If you would like any help, I am happy to offer a hand, just let me know :)

@forsti0506 forsti0506 self-assigned this Feb 20, 2022
@digitala11y
Copy link

As a blind person who use screen reader i prefer a CSV format. can we add this to the feature list?

@forsti0506
Copy link
Owner

forsti0506 commented Mar 16, 2022

@digitala11y yes i can add this to the feature list, but I'm not sure how to display complex data in csv format? can you maybe convert the following json example to a csv to help me understanding it?

{ "errors": [{ "location": "some html", "selector" : "html"}, { "location": "some html2", "selector" : "html2"}], "passed": [{ "location": "some html", "selector" : "html"}, { "location": "some html2", "selector" : "html2"}] }

@digitala11y
Copy link

Hello,
I tried using the app, as a screen reader user I hit a wall. I am new to using command line and node. After installing node modules, I was lost on how to initiate a scan.

This need bit of guidance, I thought to use my scan results to csv and share here.

This package here also generates JSON report and I use JSON to CSV converter. The accessibility violations are easy to navigate and easy to import to bug tracking tools too.
https://github.com/GovTechSG/purple-hats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants