@storybook/addon-a11y 8.0.0-alpha.5 → 8.0.0-alpha.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -193,6 +193,10 @@ export const inaccessible = () => (
193
193
  );
194
194
  ```
195
195
 
196
+ ## Automate accessibility tests with test runner
197
+
198
+ 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).
199
+
196
200
  ## Roadmap
197
201
 
198
202
  - Make UI accessible
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-a11y",
3
- "version": "8.0.0-alpha.5",
3
+ "version": "8.0.0-alpha.6",
4
4
  "description": "Test component compliance with web accessibility standards",
5
5
  "keywords": [
6
6
  "a11y",
@@ -52,19 +52,19 @@
52
52
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts"
53
53
  },
54
54
  "dependencies": {
55
- "@storybook/addon-highlight": "8.0.0-alpha.5",
55
+ "@storybook/addon-highlight": "8.0.0-alpha.6",
56
56
  "axe-core": "^4.2.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@storybook/channels": "8.0.0-alpha.5",
60
- "@storybook/client-logger": "8.0.0-alpha.5",
61
- "@storybook/components": "8.0.0-alpha.5",
59
+ "@storybook/channels": "8.0.0-alpha.6",
60
+ "@storybook/client-logger": "8.0.0-alpha.6",
61
+ "@storybook/components": "8.0.0-alpha.6",
62
62
  "@storybook/global": "^5.0.0",
63
63
  "@storybook/icons": "^1.2.1",
64
- "@storybook/manager-api": "8.0.0-alpha.5",
65
- "@storybook/preview-api": "8.0.0-alpha.5",
66
- "@storybook/theming": "8.0.0-alpha.5",
67
- "@storybook/types": "8.0.0-alpha.5",
64
+ "@storybook/manager-api": "8.0.0-alpha.6",
65
+ "@storybook/preview-api": "8.0.0-alpha.6",
66
+ "@storybook/theming": "8.0.0-alpha.6",
67
+ "@storybook/types": "8.0.0-alpha.6",
68
68
  "@testing-library/react": "^14.0.0",
69
69
  "lodash": "^4.17.21",
70
70
  "react": "^18.2.0",