storybook/docs/snippets/web-components/storybook-addon-a11y-disable.ts.mdx
2023-05-25 21:04:33 +01:00

22 lines
363 B
Plaintext

```ts
// MyComponent.stories.ts
import type { Meta, StoryObj } from '@storybook/web-components';
const meta: Meta = {
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,
},
},
};
```