Skip to content

How to Automate Accessibility Testing in Vitest with Storybook #30178

Answered by yannbf
eldursi asked this question in Help
Discussion options

You must be logged in to vote

Hey there @eldursi!

If you're using Vitest, you should try out our new testing integration, which is powered by Vitest. It also has an out of the box integration with the @storybook/addon-a11y package, providing you with automated a11y tests, both in Storybook and in Vitest.

This is currently in Storybook 8.5, which is in beta and will be released to stable soon.

Please check this for more context:
https://storybook.js.org/docs/8.5/writing-tests/test-addon
https://storybook.js.org/docs/8.5/writing-tests/accessibility-testing#test-addon-integration

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yannbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants