bitcrowd / bitstyles

A complete design system, with base styles and components, built in Sass using CSS variables
https://bitcrowd.github.io/bitstyles
ISC License
16 stars 0 forks source link

Integrate axe-playwright into storybook/test-runner #828

Open angelikatyborska opened 3 months ago

angelikatyborska commented 3 months ago

Resolves https://github.com/bitcrowd/bitstyles/issues/414

This PR adds a test-storybook command that runs axe-core on all of our stories, including mdx stories. It runs this command on CI.

I fixed every single accessibility violation except for color contrasts because that requires design skills. I have disabled color contrasts checks for now so we can merge this PR.

All code changes in this PR apply to storybook only. No changes are made to the CSS produced by the library.