revert test setting to ignore moderate failures

This commit is contained in:
Kenneth Kehl
2024-09-24 08:44:01 -07:00
parent 899347d349
commit 99ce42fc4a

View File

@@ -29,12 +29,10 @@ def check_axe_report(page):
results = axe.run(page)
# TODO we are setting this to critical for now
# to keep tests passing. Once the serious and
# moderate issues are fixed, we will set this
# 'moderate'
# TODO fix remaining 'moderate' failures
# so we can set the level we skip to minor only
for violation in results["violations"]:
assert violation["impact"] in [
"minor",
# "moderate",
"moderate",
], f"Accessibility violation: {violation}"