You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, you could add:
- Domain Name
- Number of URLs Crawled
- axeImpact scores
- WCAGissue numbers
## Add a score for better comparison.
I also like developing a score so that scans can be more easily compared. This is one approach.
Use the axe criteria to addresses severity - Score = (critical*3 + serious*2 + moderate*1.5 minor) / urls*5 - which allows you to easily compare a 1000 page site to a 10000 page site with a numeric value which lets you determine if the site is getting better or worse for users. https://github.com/CivicActions/purple-hats/blob/master/mergeAxeResults.js#L383
Grade that score to a letter grade that is easier for folks to understand:
// A+ = 0 ; A <= 0.1 ; A- <= 0.3 ;
// B+ <= 0.5 ; B <= 0.7 ; B- <= 0.9 ;
// C+ <= 2 ; C <= 4 C- <= 6 ;
// D+ <= 8 ; D <= 10 ; D- <= 13 ;
// F+ <= 15 ; F <= 20 ; F- >= 20 ;
The text was updated successfully, but these errors were encountered:
Right now when running the cli.js file I get output like:
Which kinda works when you're running 1 domain.
However, you could add:
- Domain Name
- Number of URLs Crawled
- axeImpact scores
- WCAGissue numbers
## Add a score for better comparison.
I also like developing a score so that scans can be more easily compared. This is one approach.
Use the axe criteria to addresses severity - Score = (critical*3 + serious*2 + moderate*1.5 minor) / urls*5 - which allows you to easily compare a 1000 page site to a 10000 page site with a numeric value which lets you determine if the site is getting better or worse for users. https://github.com/CivicActions/purple-hats/blob/master/mergeAxeResults.js#L383
Grade that score to a letter grade that is easier for folks to understand:
The text was updated successfully, but these errors were encountered: