Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Rename a11ytest tag to a11y-test #30198

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions docs/_snippets/addon-a11y-meta-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import { Button } from './button.component';

const meta: Meta<Button> = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
```

```js filename="Button.stories.js" renderer="html" language="js"
export default {
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -24,8 +24,8 @@ import { Button } from './Button';

export default {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -37,8 +37,8 @@ import { Button } from './Button';

const meta = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
} satisfies Meta<typeof Button>;

export default meta;
Expand All @@ -52,8 +52,8 @@ import { Button } from './Button';

const meta: Meta<typeof Button> = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
Expand All @@ -64,8 +64,8 @@ import { Button } from './Button';

export default {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -76,8 +76,8 @@ import { Button } from './Button';

const meta = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
} satisfies Meta<typeof Button>;

export default meta;
Expand All @@ -90,8 +90,8 @@ import { Button } from './Button';

const meta: Meta<typeof Button> = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
Expand All @@ -105,8 +105,8 @@ export default meta;

const { Story } = defineMeta({
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
});
</script>
```
Expand All @@ -116,8 +116,8 @@ import Button from './Button.svelte';

export default {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -129,8 +129,8 @@ export default {

const { Story } = defineMeta({
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
});
</script>
```
Expand All @@ -142,8 +142,8 @@ import Button from './Button.svelte';

const meta = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
} satisfies Meta<typeof Button>;

export default meta;
Expand All @@ -157,8 +157,8 @@ export default meta;

const { Story } = defineMeta({
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
});
</script>
```
Expand All @@ -170,8 +170,8 @@ import Button from './Button.svelte';

const meta: Meta<typeof Button> = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
Expand All @@ -182,8 +182,8 @@ import Button from './Button.vue';

export default {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -194,8 +194,8 @@ import Button from './Button.vue';

const meta = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
} satisfies Meta<typeof Button>;

export default meta;
Expand All @@ -208,8 +208,8 @@ import Button from './Button.vue';

const meta: Meta<typeof Button> = {
component: Button,
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
Expand All @@ -218,8 +218,8 @@ export default meta;
```js filename="Button.stories.js" renderer="web-components" language="js"
export default {
component: 'demo-button',
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};
```

Expand All @@ -228,8 +228,8 @@ import type { Meta, StoryObj } from '@storybook/web-components';

const meta: Meta = {
component: 'demo-button',
// πŸ‘‡ Re-apply the a11ytest tag for this component's stories
tags: ['a11ytest'],
// πŸ‘‡ Re-apply the a11y-test tag for this component's stories
tags: ['a11y-test'],
};

export default meta;
Expand Down
Loading
Loading