storybook/docs/snippets/web-components/storybook-addon-a11y-disable.ts.mdx
2023-01-05 14:53:03 +00:00

23 lines
394 B
Plaintext

```ts
// MyComponent.stories.ts
import type { Meta, StoryObj } from '@storybook/web-components';
const meta: Meta = {
title: 'Disable a11y addon',
component: 'my-component',
};
export default meta;
type Story = StoryObj;
export const ExampleStory: Story = {
parameters: {
a11y: {
// This option disables all a11y checks on this story
disable: true,
},
},
};
```