How to use the axe-core.a11yCheck function in axe-core

To help you get started, we’ve selected a few axe-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github storybook-eol / storybook-addon-a11y / src / components / WrapStory.js View on Github external
componentDidMount() {
    const { channel } = this.props;

    axe.a11yCheck(this.wrapper, {}, (results) => {
      channel.emit('addon:a11y:check', results);
    });
  }

axe-core

Accessibility engine for automated Web UI testing

MPL-2.0
Latest version published 3 months ago

Package Health Score

100 / 100
Full package analysis