From 87a18938cc6b8463ce142cbcdc9a5dbf9ccecead Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Tue, 17 Jun 2025 09:36:07 +0100 Subject: [PATCH] test(frontend): fail CI on axe errors - configure Storybook to fail CI when axe reports accessibility errors. - fix reported errors. --- frontend-v2/.storybook/preview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-v2/.storybook/preview.tsx b/frontend-v2/.storybook/preview.tsx index f9b1364e1..097e20891 100644 --- a/frontend-v2/.storybook/preview.tsx +++ b/frontend-v2/.storybook/preview.tsx @@ -29,7 +29,7 @@ const preview: Preview = { // 'todo' - show a11y violations in the test UI only // 'error' - fail CI on a11y violations // 'off' - skip a11y checks entirely - test: "todo", + test: "error", }, options: { storySort: {