142 Commits

Author SHA1 Message Date
Kasper Peulen
80ff5722d4 Remove warnings API 2024-12-12 16:09:29 +01:00
Kasper Peulen
0f514e2f47
Merge pull request #30004 from storybookjs/kasper/a11y-postinstall
Addon A11y: Run the a11y automigration on postInstall
2024-12-11 15:22:06 +01:00
Kasper Peulen
b83343b173 Fix eslint 2024-12-11 14:01:34 +01:00
Kasper Peulen
36fab90e70 Forward the yes flag 2024-12-11 12:49:21 +01:00
Valentin Palkovic
41f52fab60 Refactor environment variable handling for Vitest integration 2024-12-11 12:37:13 +01:00
Kasper Peulen
21d7c3d294 Use execa 2024-12-11 12:02:25 +01:00
Kasper Peulen
dc094300e3 Use spawn instead 2024-12-10 16:52:47 +01:00
Kasper Peulen
11628b25e8 Run the a11y automigration on postInstall 2024-12-10 15:37:41 +01:00
Kasper Peulen
b86c24b2f3
Merge branch 'valentin/unified-a11y-testing' into yann/add-a11y-addon-to-sandboxes 2024-12-06 16:40:21 +01:00
Kasper Peulen
aa40afae3e Fix CSF issues 2024-12-06 16:21:40 +01:00
Yann Braga
96fbd29335 move internal a11y stories to the right directory 2024-12-06 15:07:29 +01:00
Valentin Palkovic
d0cc243eff Fix a11y addon in Vitest 2.1.4 and above 2024-12-02 12:29:50 +01:00
Valentin Palkovic
3d938ba4ce Fix documentation link 2024-12-02 09:28:15 +01:00
Valentin Palkovic
c0d50cca43 feat: Add initialGlobals for accessibility manual setting in preview.tsx 2024-11-29 15:55:44 +01:00
Valentin Palkovic
e52d1e6f66 refactor: update reporter API to use 'type' instead of 'id' and rename afterEach to experimental_afterEach 2024-11-29 14:15:16 +01:00
Valentin Palkovic
45c9a76cf2 Update environment variable handling for Vitest integration in Storybook 2024-11-27 20:02:08 +01:00
Valentin Palkovic
5ab29c6d3a Refactor a11yRunner and utils for improved configuration handling and error reporting in tests 2024-11-27 15:42:20 +01:00
Valentin Palkovic
de6b1f2374 Add tags support for addon-a11y 2024-11-27 13:37:43 +01:00
Valentin Palkovic
7ec1e7ea53 Provide fix for Vitest 2.1.4 and above 2024-11-27 10:59:01 +01:00
Valentin Palkovic
7f596df336 Enhance a11y documentation and update a11yRunner to disable 'region' rule by default 2024-11-26 15:23:33 +01:00
Valentin Palkovic
ec7f512a8d Update afterEach tests to expect errors to be thrown 2024-11-26 10:08:03 +01:00
Valentin Palkovic
91c07f1829 Refactor Vitest standalone run check to use a function for improved error handling 2024-11-25 15:42:28 +01:00
Valentin Palkovic
0661d68e22 Refactor condition for Vitest standalone run check in preview.tsx 2024-11-25 15:11:45 +01:00
Valentin Palkovic
32a95d9e0b Fix typing issues 2024-11-25 13:58:21 +01:00
Valentin Palkovic
a08302164a Implement backend for addon-a11y addon-test integration 2024-11-25 13:31:54 +01:00
Valentin Palkovic
aae1bacdaf
Merge pull request #29552 from JohannesFischer/24450-addon-a11y-highlight-visual-bug
fix(addon-a11y): Addon-a11y displays visual bug when running the tests
2024-11-25 09:25:21 +01:00
Valentin Palkovic
4f485f3b79 Fix tests 2024-11-22 15:37:09 +01:00
Valentin Palkovic
9ed60778e4 Fix environment usage in preview file 2024-11-22 15:19:23 +01:00
Valentin Palkovic
3f1ae4effe Fix environment usage in preview file 2024-11-22 11:24:15 +01:00
Valentin Palkovic
cfae158ff9 Use vitest-axe for formatting purposes instead 2024-11-22 11:14:46 +01:00
Valentin Palkovic
96227635a8 Support new parameters and globals for a11y 2024-11-21 14:01:13 +01:00
Valentin Palkovic
141de06de0 Fix tests 2024-11-20 13:27:16 +01:00
Valentin Palkovic
003e808ec8 Fix potential undefined issue 2024-11-20 11:47:37 +01:00
Valentin Palkovic
79ad98cbe8 Fix tests 2024-11-20 10:56:49 +01:00
Valentin Palkovic
2eebee1264 Add discrepancy handling to A11yPanel 2024-11-19 15:54:01 +01:00
Valentin Palkovic
c8647d4e4c Add tests 2024-11-18 09:14:27 +01:00
Valentin Palkovic
b80ee26f50 Refactor a11y addon to use afterEach and reporting API 2024-11-15 15:58:30 +01:00
Johannes Fischer
1f93e44d28 [addon-a11y] Simplify global highlight styles to avoid issues when fetching results 2024-11-06 01:15:05 +09:00
Norbert de Langen
1fdd2d6c67 more fixes 2024-08-15 10:00:59 +02:00
Norbert de Langen
1f5a0abac3 apply consistent bracket style 2024-08-14 21:54:29 +02:00
Norbert de Langen
513bb66bb9 apply sorting to code 2024-08-08 13:00:19 +02:00
Yann Braga
63740557b4 Upgrade Vitest to v2 2024-08-05 09:13:53 +02:00
Norbert de Langen
3a1e61cefe add an /internal in the path to core subpaths from storybook 2024-06-28 14:50:56 +02:00
Norbert de Langen
cb5b778aac make packages peerDep on storybook package instead of @storybook/core 2024-06-21 20:31:10 +02:00
Norbert de Langen
e35b884b9e drop the /dist part 2024-06-19 11:08:19 +02:00
Norbert de Langen
69eb6b89e6 Merge branch 'next' into norbert/cpc 2024-06-18 13:39:05 +02:00
Michael Shilman
9625bac9bd Addon-a11y: Workaround for Vite 5.3.0 compat 2024-06-14 00:50:25 +08:00
Norbert de Langen
931d63dc42 Merge branch 'next' into norbert/cpc 2024-06-12 15:06:02 +02:00
Norbert de Langen
749594038e move to happy-dom, use vitest node-environment by default 2024-06-12 14:24:18 +02:00
Norbert de Langen
022fe08e91 improve 2024-06-06 16:07:12 +02:00