mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
try expanding use of axe
This commit is contained in:
@@ -113,6 +113,5 @@ def check_axe_report(page):
|
||||
|
||||
results = axe.run(page)
|
||||
|
||||
assert (
|
||||
len(results["violations"]) == 0
|
||||
), f"Accessibility violations: {results['violations']}"
|
||||
for violation in results["violations"]:
|
||||
assert(violation["impact"] != "minor", f"Accessibility violation: {violation}")
|
||||
|
||||
Reference in New Issue
Block a user