cvs-health / testaro

A thousand web accessibility tests performed by 11 tools
MIT License
29 stars 10 forks source link

Refine Tool Report Standardization #39

Open bbertucc opened 7 months ago

bbertucc commented 7 months ago

If testaro is creating a standard format for automated scan reports, I would suggest a few changes to the formatting, expressed in README.md Standard Format section.

Comments:

Additionally, I don't know if Testaro is the best vehicle for standardizing reports. The value I see is in validating reported issues. Wouldn't it be of more use (and less headache) to start from a single format? I started to lay out that idea here: https://github.com/EqualifyEverything/equalify-formatter/tree/main

Curious to hear your thoughts @jrpool

jrpool commented 7 months ago

These detailed considerations by @bbertucc are much appreciated. Standardized reporting was added to Testaro in May 2023. I avoided doing this on the principle that Testaro should not try to do what can be done on an ordinary server. But not internalizing standardization meant that the bulky origiinal results of all tools would need to be included in every report so that external utilities can standardize them. With reports sometimes reaching ~ 20MB and hundreds of reports in a run, that seemed to interfere with efficient use of the results. So I introduced a lightweight type of standardization, aiming to make it empirically based on the information that most tools expose. For those who find that satisfactory, it is then possible to tell Testaro to omit the original results from reports and include only the standardized results.

As for the specific properties of a the standardResult object, my initial thoughts are:

Enough for now. We can discuss alternative formats in subsequent threads. Thanks again for thinking so hard about all this.

bbertucc commented 7 months ago

Your reasonings make sense, and I'm glad to hear "what" and "which" may become more human-readable.

Wearing the Equalify hat, I would love to see a common standard so that we could integrate Testaro results almost instantly. The biggest holdup to Equalify integrating services beyond WAVE and axe-core is that it takes some time to write a conversion script for results. Axe-core does have an EARL output, as do other scans. That said, I am less convinced that EARL (as it is) is the answer and would hope for another option.

Linking to the Equalify thread where I discuss this more: https://github.com/EqualifyEverything/equalify/issues/257