w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.21k stars 335 forks source link

Infrastructure: Exclude `skipto.js` in `coverage-report.js` and report accurate values in Coverage and Quality Reports #3026

Closed howard-e closed 4 months ago

howard-e commented 4 months ago

While investigating https://github.com/w3c/aria-practices/pull/3000#issuecomment-2125885984, found that values under the Coding Summary, Coding Practices and Mouse and Pointer Events of the Coverage and Quality Reports page were being significantly and inaccurately increased.

That's because of the skipto.js utility included in each pattern's html file was not being ignored in the coverage-report.js script and was adding to the metrics when the *.js files were being evaluated.


WAI Preview Link (Last built on Thu, 23 May 2024 12:59:46 GMT).

howard-e commented 4 months ago

To compare: