I am attempting to determine if pa11y is the best tool to help us identify potential Section508 and WCAG2AA issues in our CI/CD pipeline. Thus, I am currently testing the single use version to view the results it generates.
The issue I am running into is a requirement of our client to be both Section 508 compliant and WCAG2AA compliant. To that end, I have determined to test 508, I need to set
standard: 'Section508'
The issue is, standard is a string and not an array value. Passing in 508 rules into rules when setting the standard to WCAG2AA doesn't seem to work either.
Ultimately, is there a way to run both without having to run it twice? I would like to return the results into one JSON file.
Sorry if this is a noob question -- my JS experience is limited, and my pa11y experience even moreso.