Skip to content

Commit

Permalink
feat(storybook): add a11y config (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
bar-tay authored Jun 19, 2024
1 parent b94d018 commit e3c94c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ui-library/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import { BADGE } from './badges';

export default {
parameters: {
a11y: {
options: {
runOnly: {
type: 'tag',
values: ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa', 'best-practice', 'experimental'],
},
},
},
options: {
storySort: {
method: 'alphabetical',
Expand Down

0 comments on commit e3c94c4

Please sign in to comment.