fix: extend accessibility coverage
This commit is contained in:
@@ -2,7 +2,7 @@ import AxeBuilder from "@axe-core/playwright";
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
for (const path of [
|
||||
"/", "/records", "/report", "/tackle", "/rules", "/privacy",
|
||||
"/", "/records", "/report", "/tackle", "/tackle/analytics", "/tackle/items/00000000-0000-0000-0000-000000000000", "/rules", "/privacy",
|
||||
"/admin", "/admin/moderation", "/admin/external-sources", "/admin/media",
|
||||
]) {
|
||||
test(`${path} has no serious accessibility violations`, async ({ page }) => {
|
||||
|
||||
@@ -6,6 +6,8 @@ for (const path of [
|
||||
"/waterbodies/р-вьюнок",
|
||||
"/spots/vyunok-321x654",
|
||||
"/media",
|
||||
"/tackle/analytics",
|
||||
"/tackle/items/00000000-0000-0000-0000-000000000000",
|
||||
]) {
|
||||
test(`${path} has no serious accessibility violations`, async ({ page }) => {
|
||||
await page.goto(path);
|
||||
|
||||
Reference in New Issue
Block a user