mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-17 00:32:58 -04:00
switch to serious and above try removing aria label
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<div id="activityChart">
|
||||
<div class="chart-header">
|
||||
<div class="chart-subtitle">{{ current_service.name }} - last 7 days</div>
|
||||
<div class="chart-legend" aria-label="Legend"></div>
|
||||
<div class="chart-legend"></div>
|
||||
</div>
|
||||
<div class="chart-container" id="weeklyChart"></div>
|
||||
<table id="weeklyTable" class="usa-sr-only usa-table"></table>
|
||||
|
||||
@@ -114,4 +114,7 @@ def check_axe_report(page):
|
||||
results = axe.run(page)
|
||||
|
||||
for violation in results["violations"]:
|
||||
assert violation["impact"] == "minor", f"Accessibility violation: {violation}"
|
||||
assert violation["impact"] in [
|
||||
"minor",
|
||||
"moderate",
|
||||
], f"Accessibility violation: {violation}"
|
||||
|
||||
@@ -2,6 +2,7 @@ import os
|
||||
import re
|
||||
|
||||
from playwright.sync_api import expect
|
||||
|
||||
from tests.end_to_end.conftest import check_axe_report
|
||||
|
||||
E2E_TEST_URI = os.getenv("NOTIFY_E2E_TEST_URI")
|
||||
|
||||
Reference in New Issue
Block a user