From 2af6ac2cbc11730d027cf1f391958ed403ef2898 Mon Sep 17 00:00:00 2001 From: samithaf Date: Mon, 4 Dec 2023 12:49:32 +1100 Subject: [PATCH] fixes a11y issue in Compacta storybook --- package.json | 2 +- .../ui/src/components/compacta/compacta.stories.tsx | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3f01ad35b..195e449cb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "check-types": "turbo run check-types --filter=./packages/* --no-daemon", "dev": "turbo run dev --parallel --no-daemon", "format": "prettier --check \"**/{.vscode/*,*.ts,*.tsx,*.js,*.json,*.md}\"", - "format:fix": "prettier --write \"**/{.vscode/*,*.ts,*.tsx,*.js,*.json,*.md,*.mdoc}\"", + "format:fix": "prettier --write \"**/{.vscode/*,*.ts,*.tsx,*.js,*.json,*.md}\"", "lint": "turbo run lint --no-daemon", "lint:fix": "turbo run lint:fix --no-daemon", "new:package": "node ./helpers/create-package/index.js", diff --git a/packages/ui/src/components/compacta/compacta.stories.tsx b/packages/ui/src/components/compacta/compacta.stories.tsx index 546030eea..339353f4f 100644 --- a/packages/ui/src/components/compacta/compacta.stories.tsx +++ b/packages/ui/src/components/compacta/compacta.stories.tsx @@ -30,9 +30,11 @@ export const Default = () => {
Primary - Primary title text + Primary title text { handleChange(e); @@ -42,9 +44,11 @@ export const Default = () => { Secondary - Secondary title text + Secondary title text { handleChange(e); @@ -54,9 +58,11 @@ export const Default = () => { Tertiary - Tertiary title text + Tertiary title text { handleChange(e);