@storybook/addon-a11y

  • Version 6.2.9
  • Published
  • 135 kB
  • 16 dependencies
  • MIT license

Install

npm i @storybook/addon-a11y
yarn add @storybook/addon-a11y
pnpm add @storybook/addon-a11y

Overview

Test component compliance with web accessibility standards

Index

Variables

variable PARAM_KEY

const PARAM_KEY: string;

    variable withA11y

    const withA11y: any;

      Functions

      function highlightObject

      highlightObject: (
      color: string
      ) => { outline: string; outlineOffset: number; boxShadow: string };

        function highlightStyle

        highlightStyle: (color: string) => string;

          Package Files (3)

          Dependencies (16)

          Dev Dependencies (2)

          Peer Dependencies (2)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/addon-a11y.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/addon-a11y)
          • HTML
            <a href="https://www.jsdocs.io/package/@storybook/addon-a11y"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>