Socket
Socket
Sign inDemoInstall

storybook-a11y-report

Package Overview
Dependencies
114
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    storybook-a11y-report

CLI tool for storybook-addon-a11y.


Version published
Weekly downloads
1.4K
decreased by-3.63%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

storybook-a11y-report

CLI tool for storybook-addon-a11y.

storybook-a11y-report is no longer maintained, please use Storybook test runner and axe-playwright instead!

The storybook-a11y-report project is now discontinued. Please switch to the Storybook test runner and axe-playwright for accessibility testing. We thank everyone who supported storybook-a11y-report throughout its journey.

Report Example

Report examples

Getting Started

Prerequisites

If you are already developing in Storybook and storybook-addon-a11y is working, this module will work. If storybook-addon-a11y is not installed, start with this guide.

Installing / Getting started

# Locally in your project.
npm install -D storybook-a11y-report

# Or globally.
npm install -g storybook-a11y-report

# You will need to start Storybook before running this command.
npx storybook-a11y-report

Options

--include, -i   Name of stories to narrow down (supports minimatch)
--exclude, -e   Name of stories to ignore (supports minimatch)
--filter, -f    ID of A11y to narrow down
--omit, -o      ID of A11y to ignore
--exit, -q      The process will be terminated abnormally, if there is an a11y violation in the report result (mainly for CI)
--storybookUrl  URL of Storybook (default: 'http://localhost:6006')
--outDir        Directory to output the report file (default: '__report__')
--outputFormat  Format of the output report, supports md or html (default: md)

Built With

  • Storycrawler - Utilities to build Storybook crawling tools with Puppeteer
  • storybook-addon-a11y - Test components for user accessibility in Storybook
  • minimatch - A minimal matching utility

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Last updated on 14 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc