Giter VIP home page Giter VIP logo

storybook-addon-a11y's People

Contributors

gsimone avatar jbovenschen avatar jrwebdev avatar ndelangen avatar shilman avatar zinserjan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

storybook-addon-a11y's Issues

Publish a Storybook v3 compatible version

Since storybook changed its libraries names,
A replace of lib names is required:
@kadira/storybook -> @storybook/react
@kadira/storybook-addons -> @storybook/addons

Need to customise aXe options

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?

graceful-fs modification permission issue

On windows platforms, the axe-core keeps trying to change the system npm modules:

npm ERR! at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
npm ERR! at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)

which, by default, requires Administrator privileges. Is this needed or is there another way around it?

v3 doesn't work

hey,
I have tried install and use v3 following the instructions, but the addon isn't showing at all.
It's also not working on npm 'Try it out'

Document what axe-core rules this addon uses?

I know axe-core has different sets of rules it uses to test accessibility issues which can be determined programmatically.

Tag Name Accessibility Standard/Purpose
wcag2a WCAG 2.0 Level A
wcag2aa WCAG 2.0 Level AA
section508 Section 508
best-practice Best practices endorsed by Deque
experimental Cutting-edge techniques

I'm curious which ones storybook-addon-a11y, I'm guessing it uses the entire set?

cc/ @ndelangen

Violation from info add on

Hello,

Using a11y addon with info addon causes a violation as it tries to validate the color contrast of the show info toggle.

See attached image:

screenshot

Is there a work around for this?

Thanks,
Rob

Is this project maintained?

I'm not sure if this package is still maintained, Do you need help?

I'm happy to integrate this into the storybook monorepo if you'd like?

There's a 3.0.0 release coming, and I'd like to make sure addons are maintained, we're willing to help where we can!

Can you join us in the storybook slack?
https://storybooks-slackin.herokuapp.com/

That way we can keep you updated on the upcoming 3.0.0 release!

❤️ storybook team

Incompatible with storyshots

We have a project we are using storyshots with storybook-addon-a11y. While we can run storybook in the browser without issue, when we run the tests based on the storyshots, we are getting multiple Invariant Violation: getNodeFromInstance: Invalid argument. errors.

Doing a quick google search on this error message led me to facebook/react#8324

It makes me think the use of findDomNode here is what is causing compatibility issues with storyshots.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.