more debug

This commit is contained in:
Kenneth Kehl
2024-09-26 08:23:13 -07:00
10 changed files with 24 additions and 17 deletions

View File

@@ -29,12 +29,9 @@ 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",
], f"Accessibility violation: {violation}"