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

Retrieving the number of items that pass the checks per rule #687

Open
sehilyi opened this issue Dec 20, 2023 · 1 comment
Open

Retrieving the number of items that pass the checks per rule #687

sehilyi opened this issue Dec 20, 2023 · 1 comment

Comments

@sehilyi
Copy link

sehilyi commented Dec 20, 2023

Hi pa11y team!

I wonder if it is possible to get the number of items that actually pass each rule, in addition to the items w/ errors. I see in the report results that items with errors are included (e.g., images w/o alt texts), and I am wondering if it's possible to get similar information for items with no errors as well.

Thanks in advance!

@sehilyi
Copy link
Author

sehilyi commented Jan 10, 2024

Ah, I see "passes" results are not added to the results. Would you be willing to add an option to collect passes as well?

pa11y/lib/runners/axe.js

Lines 48 to 49 in fb7f546

...result.violations.map(processViolation),
...result.incomplete.map(processIncomplete)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants