try using h3 instead of h4

This commit is contained in:
Kenneth Kehl
2024-10-07 09:11:10 -07:00
parent 3f7e600ac1
commit 22f9ff603a
7 changed files with 13 additions and 13 deletions

View File

@@ -33,5 +33,6 @@ def check_axe_report(page):
# so we can set the level we skip to minor only
for violation in results["violations"]:
assert violation["impact"] in [
"minor"
"minor",
"moderate",
], f"Accessibility violation: {violation}"