Skip to content

Commit

Permalink
chore: disable incorrect axe rule for token card story
Browse files Browse the repository at this point in the history
  • Loading branch information
SiTaggart committed Mar 2, 2023
1 parent 3a4611c commit ca7f45e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/paste-website/stories/TokenCard.stories.tsx
Expand Up @@ -217,6 +217,19 @@ TextColorToken.args = {
name: 'color-text-success',
text_contrast_pairing: ['color-background', 'color-background-new', 'color-background-user'],
};
TextColorToken.parameters = {
a11y: {
config: {
rules: [
{
// this rule is technically wrong https://html.spec.whatwg.org/multipage/grouping-content.html#the-dl-element
id: 'definition-list',
enabled: false,
},
],
},
},
};

export const TextColorConditionalToken = Template.bind({});
TextColorConditionalToken.args = {
Expand Down

0 comments on commit ca7f45e

Please sign in to comment.