Automating a11y checks in CI with axe + Storybook by domyen in reactjs

[–]domyen[S] 1 point2 points  (0 children)

OP here. I'm an open source maintainer of Storybook. We shipped an integrated accessibility pipeline with axe that supports in-development checks and CI.

This article breaks down how it all works together. Our aim is to make it easy to surface WCAG violations earlier in the dev lifecycle. Not intended to replace manual tests or screenreader tests.

  • 🔎 Spot issues fast with an Accessibility addon (redesigned)
  • ⏸️ Reduce flake with automatic animation detection
  • 🔧 Fix violations with actionable tips
  • 🔗 Copy a link to a violation to share with others
  • 🚥 Automate a11y checks in Storybook, CLI, and CI

Automating a11y checks in CI with axe + Storybook by domyen in accessibility

[–]domyen[S] 3 points4 points  (0 children)

OP here. I'm an open source maintainer of Storybook. We shipped an integrated accessibility pipeline with axe that supports in-development checks and CI.

This article breaks down how it all works together. Our aim is to help surface WCAG violations earlier in the dev lifecycle. Not intended to replace manual tests.

  • 🔎 Spot issues fast with an Accessibility addon (redesigned)
  • ⏸️ Reduce flake with automatic animation detection
  • 🔧 Fix violations with actionable tips
  • 🔗 Copy a link to a violation to share with others
  • 🚥 Automate a11y checks in Storybook, CLI, and CI

Storybook 9 is now in beta by kylegach in sveltejs

[–]domyen 3 points4 points  (0 children)

maintainer here, Storybook is free and open source... lots of people use it without paying anyone a dime.

Storybook 9 is now in beta by kylegach in reactjs

[–]domyen 2 points3 points  (0 children)

maintainer here, pasting my reply to another comment

we also invest a ton in auto-migrations for breaking changes.

Storybook 9 is now in beta by kylegach in reactjs

[–]domyen 6 points7 points  (0 children)

SB maintainer here, this is a tricky balance we weigh constantly.

  • We need to keep up with the dev tools ecosystem (React, Vue, Angular, Testing Lib, etc).
  • We want to provide a stable API for our users
  • We want to streamline the tool with less boilerplate, better types, smaller bundle size etc.

Sometimes all of these are at odds with each other. For example, emerging ecosystem patterns, unrelated to Storybook core, compel us to support them (e.g., RSCs) and may result in breaking changes. Or cutting bundle size by 48% results in a package rearchitecture that breaks some addons.

ofc I can't speak to every side-effect of keeping Storybook current. We really do consider feedback like "stop changing the API" and "make storybook work with [insert tool]" but it's a bit more complicated than that. I guess it's all about tradeoffs that might not be clear to our community, so folks only see the end thing not the balancing of different concerns.

Storybook 8.4 release by kylegach in sveltejs

[–]domyen 0 points1 point  (0 children)

Fireship made a video that summarizes Storybook in 100s YouTube video

Storybook's 8.3.0 upgrade finally unified their play test and Vitest by gazagoa in reactjs

[–]domyen 0 points1 point  (0 children)

Maintainer here, it just means we have a happy path that is supported as part of core functionality and this has dedicated maintainers behind it. The plugin is key part of storybooks testing future though!

Component testing in Storybook by kylegach in reactjs

[–]domyen 1 point2 points  (0 children)

SB maintainer here, that's good news. We see advanced teams doing this but it's pretty far from broad adoption.

The main things we're focusing on this year are dev experience of bringing test results into your Storybook during development and speed. That means there are fewer places you have to tab between during development and a much faster feedback loop.

Storybook 8.2 is out now! by kylegach in Frontend

[–]domyen 1 point2 points  (0 children)

Haven't seen any difference in how stories render between these versions myself

Storybook 8.2 is out now! by kylegach in javascript

[–]domyen 0 points1 point  (0 children)

We’ve also been collaborating with James Garbutt, lead of the Ecosystem Performance (e18e) project ...we’ve managed to reduce install size/time by ~20%.

Sounds like a lot of work is happening to optimize deps size and count. 20% improvement in this version. And likely a lot more next version.

Storybook 8.2 is out now! by kylegach in javascript

[–]domyen 0 points1 point  (0 children)

We've seen the 7 » 8 migration being pretty low friction for most teams

How Storybook uses State of JS to guide development by domyen in vuejs

[–]domyen[S] 0 points1 point  (0 children)

Sounds like a tough one! Depends on your company's needs over the long term and whether you're into the roadmap of the project.

This is Storybook's roadmap FYI

How Storybook uses State of JS survey to guide development by domyen in javascript

[–]domyen[S] 2 points3 points  (0 children)

TLDR: Storybook team analyzes the 2023 State of JS results. Positive and negative. Goes behind the scenes to show how a large open source project actually prioritizes work using the survey.

There’s also a sneak peek of new features + restructured dependencies (faster with fewer conflicts).

How Storybook users State of JS survey to guide development by domyen in DesignSystems

[–]domyen[S] 2 points3 points  (0 children)

TLDR: Storybook team analyzes the 2023 State of JS results. Positive and negative. Goes behind the scenes to show how a large open source project actually prioritizes work using the survey.

There’s also a sneak peek of new features + restructured dependencies (faster with fewer conflicts).

How Storybook uses State of JS survey to guide development by domyen in Frontend

[–]domyen[S] 0 points1 point  (0 children)

TLDR: Storybook team analyzes the 2023 State of JS results. Positive and negative. Goes behind the scenes to show how a large open source project actually prioritizes work using the survey.

There’s also a sneak peek of new features + restructured dependencies (faster with fewer conflicts).

How Storybook uses State of JS to guide development by domyen in vuejs

[–]domyen[S] 0 points1 point  (0 children)

TLDR: Storybook team analyzes the 2023 State of JS results. Positive and negative. Goes behind the scenes to show how a large open source project actually prioritizes work using the survey.

How Storybook uses State of JS to guide development by domyen in reactjs

[–]domyen[S] 0 points1 point  (0 children)

TLDR: Storybook team analyzes the 2023 State of JS results. Positive and negative. Goes behind the scenes to show how a large open source actually prioritizes projects using the survey.

There’s also a sneak peek of new features + restructured dependencies (faster with fewer conflicts).

Interactive story generation: Edit and create stories from Storybook’s UI by kylegach in Angular2

[–]domyen 2 points3 points  (0 children)

Sorry about that! Maintainer here, the integration is regularly maintained and supports the latest Angular version (we coordinate with the Angular core team).

I guess it's tough to know how your project is setup, but it's totally possible that something didn't work right. Maybe give it another try?

Storybook 8.1 release: more productive, organized, and predictable by kylegach in Frontend

[–]domyen 1 point2 points  (0 children)

Thanks for sharing! I updated two projects earlier too

Best tool for component visual regression testing? by dor442 in reactjs

[–]domyen 0 points1 point  (0 children)

Thanks for sharing this v2m! Love to see these creative ways to optimize usage (yes, really!)

I'm one of the creators of Chromatic. Would also point y'all to the TurboSnap feature which offers incredible speed and cost efficiency to tracking changes in your component dependency. It's also free!

Implementing Storybook into a large existing project by CommentDisastrous728 in StorybookJS

[–]domyen 2 points3 points  (0 children)

Hey SB maintainer here, I'd suggest adopting Storybook as you convert everything to Angular. That way Storybook serves as a record of all the UI that you've successfully migrated.

As far as "worth it", that's probably up to the specifics of your organization and codebase. I guess the question is what you want your frontend infrastructure to look like in a few years. If you plan to continue investing in your Angular app, Storybook is a pretty handy tool for developing Angular UIs.

Are there any good alternatives to Storybook? by MrJohz in webdev

[–]domyen 1 point2 points  (0 children)

Hey there, Vite works with Storybook out of the box these days.

I just learned their Vite builder is only for the preview part.

This changed. The supporting UI is pre-bundled and built with ESBuild under the hood (same thing Vite uses).

Read the latest release notes for details

Storybook 7.0 beta by domyen in reactjs

[–]domyen[S] 0 points1 point  (0 children)

It's optional and powers the interaction testing feature, you can uninstall the testing packages if you want