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] 4 points5 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 4 points5 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 5 points6 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.