chore: add accessibility addon

This commit is contained in:
MAZE 2024-04-27 22:49:48 +03:30
parent 3f3bcdda21
commit 0300df3852
3 changed files with 17 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const config: StorybookConfig = {
'@storybook/addon-essentials',
'@chromatic-com/storybook',
'@storybook/addon-interactions',
'@storybook/addon-a11y',
],
framework: {

15
package-lock.json generated
View File

@ -31,6 +31,7 @@
"@chromatic-com/storybook": "1.3.3",
"@commitlint/cli": "17.7.2",
"@commitlint/config-conventional": "17.7.0",
"@storybook/addon-a11y": "8.0.9",
"@storybook/addon-essentials": "8.0.9",
"@storybook/addon-interactions": "8.0.9",
"@storybook/addon-links": "8.0.9",
@ -4643,6 +4644,20 @@
"integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
"dev": true
},
"node_modules/@storybook/addon-a11y": {
"version": "8.0.9",
"resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-8.0.9.tgz",
"integrity": "sha512-HgIlhOI3yBS3ztnuqOquGztnju7LE+BgCMYbDQEZjQkddiQPtjwLC6h0/LkvHL5993avbq1vYEWfUGHLtGzYfQ==",
"dev": true,
"dependencies": {
"@storybook/addon-highlight": "8.0.9",
"axe-core": "^4.2.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/storybook"
}
},
"node_modules/@storybook/addon-actions": {
"version": "8.0.9",
"resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-8.0.9.tgz",

View File

@ -46,6 +46,7 @@
"@chromatic-com/storybook": "1.3.3",
"@commitlint/cli": "17.7.2",
"@commitlint/config-conventional": "17.7.0",
"@storybook/addon-a11y": "8.0.9",
"@storybook/addon-essentials": "8.0.9",
"@storybook/addon-interactions": "8.0.9",
"@storybook/addon-links": "8.0.9",