pa11y / pa11y-ci

Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
https://pa11y.org
GNU Lesser General Public License v3.0
525 stars 63 forks source link

Is there a way to generate html report using pa11y-ci #42

Closed bharath4793 closed 6 years ago

bharath4793 commented 6 years ago

is there any way to generate html page output using multiple urls?

I have multiple url in pa11yci.sjon file and I want to save reports to html file so that I can easily embed to Jenkins for report. Is there any way to do?

rowanmanning commented 6 years ago

No, there's currently no way out outputting HTML reports for multiple URLs. We could investigate adding this in future if enough people need it but it feels more like something that Sidekick would cater for.

Let me know if that is likely to suit your needs. I'm going to close this for now as we're not intending on adding any time soon, but we can reopen if we decide to.

sshaar08 commented 6 years ago

+1

lsigism commented 6 years ago

I know that the ticket is closed but yesterday I was thinking the same (in a way to generate html report using pa11y-ci) and unfortunately we have our negative answer. Maybe for the future, we could even consider this report and also an aggregate results view. For example, showing how many times a specific rule failed across all the URLs tested, something like that (ordering by the rule with more failed results, or for the 'most' important to the 'less' important one). But thanks for getting back to us Rowan 👍

dgateles commented 5 years ago

+1

aarongoldenthal commented 5 years ago

For my use case I'm frequently looking for CI jobs that produce a couple of outputs - something machine readable like JSON that can be ingested for a summary of all analyses/tests for a project, and something easily human-readable like HTML.

To meet that need I built a simple Pa11y CI HTML Reporter. Unlike pa11y reporters it runs standalone, but takes a pa11y-ci JSON file, uses the existing pa11y-reporter-html module to generate HTML reports for each URL, and also generates a summary page (similar format to the individual URL reports, just showing error/warning/notice counts and linking to the detailed page reports).

XhmikosR commented 4 years ago

@aarongoldenthal that looks pretty good! Would be nice if your package was listed somewhere in docs or got more visibility someway.