Skip to content

Commit b82228c

Browse files
Merge pull request #14759 from guardian/storybook-a11y
Add accessibility add on to storybook
2 parents 99dfac7 + 3a3db9c commit b82228c

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

dotcom-rendering/.storybook/main.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ const config: StorybookConfig = {
2929
{ from: '../src/static', to: '/static/frontend/' },
3030
],
3131

32-
addons: ['@storybook/addon-webpack5-compiler-swc', '@storybook/addon-docs'],
32+
addons: [
33+
'@storybook/addon-webpack5-compiler-swc',
34+
'@storybook/addon-docs',
35+
'@storybook/addon-a11y',
36+
],
3337

3438
webpackFinal: async (config) => {
3539
// Get project specific webpack options

dotcom-rendering/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"@guardian/tsconfig": "0.2.0",
4848
"@playwright/test": "1.56.1",
4949
"@sentry/browser": "10.20.0",
50+
"@storybook/addon-a11y": "9.1.13",
5051
"@storybook/addon-docs": "9.1.13",
5152
"@storybook/addon-webpack5-compiler-swc": "4.0.1",
5253
"@storybook/react-webpack5": "9.1.13",

pnpm-lock.yaml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)