Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 18e4574

Browse files
authoredFeb 17, 2025··
Merge pull request #536 from storybookjs/valentin/fix-compat-with-sb-8.5
Fix a11y compatibility with Storybook 8.5 and above
2 parents 30d8924 + 349c0dd commit 18e4574

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/setup-page-script.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,14 @@ async function __test(storyId: string): Promise<any> {
450450
channel.on(eventName, listener);
451451
});
452452

453+
channel.emit('updateGlobals', {
454+
globals: {
455+
a11y: {
456+
manual: true,
457+
},
458+
},
459+
});
460+
453461
channel.emit('setCurrentStory', { storyId, viewMode: TEST_RUNNER_VIEW_MODE });
454462
});
455463
}

0 commit comments

Comments
 (0)
Please sign in to comment.