Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/witty-pants-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 1 addition & 0 deletions packages/ui-components/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const config: StorybookConfig = {
addons: [
'@storybook/addon-webpack5-compiler-swc',
'@storybook/addon-themes',
'@storybook/addon-a11y',
{
name: '@storybook/addon-styling-webpack',
options: {
Expand Down
4 changes: 4 additions & 0 deletions packages/ui-components/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const preview: Preview = {
viewport: {
options: STORYBOOK_SIZES,
},
// Runs axe-core against every Story and reports WCAG violations in the
// Accessibility panel. 'todo' surfaces them as warnings instead of failures
// @see https://storybook.js.org/docs/writing-tests/accessibility-testing
a11y: { test: 'todo' },
},

decorators: [
Expand Down
1 change: 1 addition & 0 deletions packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"devDependencies": {
"@eslint-react/eslint-plugin": "~5.8.6",
"@orama/core": "^1.2.19",
"@storybook/addon-a11y": "~10.6.0",
"@storybook/addon-styling-webpack": "~3.0.2",
"@storybook/addon-themes": "~10.6.0",
"@storybook/addon-webpack5-compiler-swc": "~4.0.3",
Expand Down
Loading
Loading