codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
24 stars 24 forks source link

Enhancement: Add axe-core to testing for pages to enhance accessibility regression testing #567

Open milofultz opened 5 months ago

milofultz commented 5 months ago

We use the axe linter at work all the time to implement regression testing, and I think using it in our test suite would be super helpful. I found a matcher for vitest, too.

A lot of work would need to be done to be able to even implement these tests, as I think we would need to bring our pages up to be at 0 failures when using the matchers, first (see https://github.com/codeforpdx/codepdx_website/issues/55). But this would be huge for clamping down on pages that are already there and for pages where we've done the work to make them completely accessible.