Skip to content
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

docs(storybook): use storybook-addon-accessibility-checker #14926

Merged

Conversation

tay1orjones
Copy link
Member

The IBM Accessibility team has been working on a modified/forked @storybook/addon-a11y that serves the same purpose but allows the engine to be configurable to use accessibility-checker instead of axe. This PR is for testing the addon.

Changelog

New

  • Use storybook-addon-accessibility-checker instead of @storybook/addon-a11y

Testing / Reviewing

  • Look through the storybook and review the reported accessibility items in the addon pane, things should report correctly.
  • If we find any false positives or other issues, report them below

@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 993e4a2
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/658177aaf158690007b67f7c
😎 Deploy Preview https://deploy-preview-14926--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit e19010b
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6554e2284cd1820009fed512
😎 Deploy Preview https://deploy-preview-14926--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tay1orjones tay1orjones marked this pull request as ready for review October 23, 2023 14:21
@tay1orjones tay1orjones requested a review from a team as a code owner October 23, 2023 14:21
Copy link
Member Author

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm seeing some errors when navigating to different stories, can anyone else confirm?

Screenshot 2023-10-23 at 8 44 19 PM Screenshot 2023-10-23 at 8 44 37 PM

Copy link
Member Author

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After resolving the yarn dedupe ci failure it looks like the issue is now resolved, but please flag if anyong sees the failures again.

@andreancardona
Copy link
Contributor

I'm seeing some errors when navigating to different stories, can anyone else confirm?

Screenshot 2023-10-23 at 8 44 19 PM Screenshot 2023-10-23 at 8 44 37 PM

I'm seeing these warnings also :/

@tay1orjones
Copy link
Member Author

tay1orjones commented Oct 26, 2023

Hey @tombrunet we're unfortunately seeing some issues with this. I'm not sure exactly what the culprit is 🤔

For me it was occuring after setting the theme in the theme switcher, navigating through some ComposedModal stories, and then setting some controls (that modify the params in the url).

@tay1orjones
Copy link
Member Author

The latest rc of the addon fixes these issues, thanks @tombrunet!

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ✅

@github-actions github-actions bot added this pull request to the merge queue Dec 15, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 15, 2023
@tw15egan tw15egan added this pull request to the merge queue Dec 19, 2023
Merged via the queue into carbon-design-system:main with commit f504b2e Dec 19, 2023
20 checks passed
danoro96 pushed a commit to danoro96/carbon that referenced this pull request Jan 18, 2024
…sign-system#14926)

* docs(storybook): use storybook-addon-accessibility-checker

* chore: yarn dedupe

* chore: update storybook-addon-accessibility-checker

* chore: yarn dedupe

* chore(yarn): run dedupe

---------

Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
Co-authored-by: TJ Egan <tw15egan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants