From 3539f3bc875406f916a3dc52e4b12333bc958956 Mon Sep 17 00:00:00 2001 From: Steve Axtmann Date: Tue, 19 Dec 2023 16:03:03 +0100 Subject: [PATCH] a11y: link to the docs for the test runner --- code/addons/a11y/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/addons/a11y/README.md b/code/addons/a11y/README.md index 7ff0d885ec0a..64730ef61033 100755 --- a/code/addons/a11y/README.md +++ b/code/addons/a11y/README.md @@ -193,6 +193,10 @@ export const inaccessible = () => ( ); ``` +## Automate accessibility tests with test runner + +The test runner does not apply any rules that you have set on your stories by default. You can configure the runner to correctly apply the rules by [following the guide on the Storybook docs](https://storybook.js.org/docs/writing-tests/accessibility-testing#automate-accessibility-tests-with-test-runner). + ## Roadmap - Make UI accessible