Fix the a11y addon
See original GitHub issue@storybook/addon-a11y
error
a11yRunner.js:10 Uncaught SyntaxError: The requested module '/@fs/Users/zander/code/my/project/node_modules/@storybook/addon-a11y/node_modules/axe-core/axe.js?v=ad04bc2d' does not provide an export named 'default'
_Originally posted by @mrmartineau in https://github.com/eirslett/storybook-builder-vite/issues/4#issuecomment-822373486_
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Fix the a11y addon · Issue #6 · storybookjs/builder-vite - GitHub
It could be related to cjs/esm module issues. Maybe it's including axe.js directly instead of including axe-core?
Read more >Storybook-addon-a11y - Accessibility
Test component compliance with web accessibility standards. ... This Storybook addon can be helpful to make your UI components more accessible.
Read more >@storybook/addon-a11y - npm
@storybook/addon-a11y. TypeScript icon, indicating that this package has built-in type declarations. 6.5.15 • Public • Published 6 days ago.
Read more >React Storybook Tutorial - 12 - a11y Addon - YouTube
Courses - https://learn.codevolution.dev/ Support UPI - https://support.codevolution.dev/ Support PayPal ...
Read more >WP Accessibility – WordPress plugin
This plug-in helps with a variety of common accessibility problems in WordPress themes. While most accessibility issues can't be addressed without directly ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Cool, I was able to simplify my config greatly:
I’ll close out the issue, but let us know if you have any other trouble. Glad it seems to be working for you now.
I haven’t quite cleaned this up all the way, but here’s the
viteFinal
that I ended up with in my own project. You may not need all of it, but hopefully it’s a start: