Some of the passing accessibility tests broke because of the way I had implemented the data regression fixtures for pytest-regressions in #1501.
Specifically, some of the data regression fixture files contained the Axe-core version, so when Axe-core was updated, those fixtures became out of sync with the test run.
I decided to scrap the data regression fixture files and instead, I define a function in the test file that filters out violations for Axe-core rules that we want to ignore. Using a function is ultimately more flexible.
Some of the passing accessibility tests broke because of the way I had implemented the data regression fixtures for pytest-regressions in #1501.
Specifically, some of the data regression fixture files contained the Axe-core version, so when Axe-core was updated, those fixtures became out of sync with the test run.
I decided to scrap the data regression fixture files and instead, I define a function in the test file that filters out violations for Axe-core rules that we want to ignore. Using a function is ultimately more flexible.