Skip to content

Commit

Permalink
feat(SLB-226): attempt to warn rather thanfail
Browse files Browse the repository at this point in the history
  • Loading branch information
Luqmaan Essop committed Jun 7, 2024
1 parent 55a66b6 commit e25b011
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/ui/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const parameters = {
a11y: {
// Optional selector to inspect
element: '#storybook-root',
reviewOnFail: true,
config: {
rules: [
{
Expand All @@ -78,6 +77,12 @@ export const parameters = {
id: 'image-alt',
enabled: false,
},
{
// Setting the enabled option to false will disable checks for this particular rule on all stories.
id: 'color-contrast',
enabled: false,
// reviewOnFail: true,
},
],
},
// Axe's options parameter
Expand Down

0 comments on commit e25b011

Please sign in to comment.