Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Need to customise aXe options #4

Closed
seancurtis opened this issue Dec 19, 2016 · 3 comments
Closed

Need to customise aXe options #4

seancurtis opened this issue Dec 19, 2016 · 3 comments

Comments

@seancurtis
Copy link

The a11y checks currently cause the viewport to be scrolled. There's an option to disable that check, but there's no way to configure that for the addon. Could you please expose a way to pass the aXe options through?

@jbovenschen
Copy link
Collaborator

This is a thing I certain want to add in the near future only currently I don't have the time to spend much time into the project.

The idea is as following, give the provided decorator function to possibility to be a higher order function which can be passed a options object, which will look as follows;

{ 
  axe: {
    // All possible axe config. 
  },
  screenreader: false,
  colorblindness: false,
}

The screenreader and color blindness filters are two things I also want to add in the future.

Looks this ok, to you?

@ndelangen
Copy link
Collaborator

@seancurtis I'm almost done migrating this package over into the core of storybook. Would you be interested in contributing?

Adding the options described above seem to be a great start?

storybookjs/storybook#2292

@ndelangen
Copy link
Collaborator

FYI I have merged this repo into the monorepo!

Please do not open any issues or PR's directly on this repo, but instead open them here:
https://github.com/storybooks/storybook

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants