-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a11y configuration for eslint and storybook #1849
Conversation
Picked this up again today; the storybook command still works (and the add on too), but there's this long error message about something being broken in axe-core: https://s.tape.sh/bCLk58nV |
Looks like we can resolve this error by upgrading to storybook 6 (see storybookjs/storybook#14160). We're on: redwood/packages/core/package.json Line 27 in 49a55e6
Dependabot recently tried to get us to upgrade; the CI passed: #1926. |
If this gets merged, it would render the work here (integrating the a11y addon) moot: storybookjs/storybook#12485. Not sure when or if it will though, so it's still worth doing this. |
^^ @jtoar there are more steps to this than upgrading the package. This is on @peterp's radar — perhaps you should connect with him and bump priority. Also related to #1667 (Storybook has since upgraded to Webpack v5) |
a814fb1
to
8f90e11
Compare
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Nice! Reviewing this now! |
Co-authored-by: Peter Pistorius <peter.pistorius@gmail.com>
This PR follows up on the discussion around #1793, adding eslint and and storybook a11y tooling at the framework level that can be turned off with a toml var (all of it's on by default).
enableA11yTooling
,a11yTooling
... justa11y
?[a11y]
, and then list all the vars there with more descriptive namespackages/core
)jsx-a11y
rules might need to be turned off, just not sure which ones yetrevert prisma being added toit was just moved, not added; it's consistent with what's in mainpackages/core