Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Labcodes believes in web environments made for all people. Confetti follows the global accessibility standard (WCAG) AA Level and try our best to comply with AAA requirements.
From W3C's Web Accessibility Initiative
All users must have access to, be able to use, and understand the same content, no matter what disability they might have or what sort of device they might be using to get at that content.
All content should be/have:
aria-disabled
vs disabled
All of our inputs and buttons have disabled
and ariaDisabled
props. We made both available because setting them as disabled
makes them unreadable by screen readers, and it could lead some visually impaired users to not know what are the available options.
Whenever any of our components are set with ariaDisabled
, they are functionally identical to their disabled
counterparts, with the exception that they will be read by screen readers, so we strongly suggest using them whenever possible.
For specific cases, like elements that can be skipped to finish a task and don’t add information to the context, you may opt to use disabled
, so that they can be skipped in tab order.
Also, when using these props on forms, consider using aria-live
and aria-describedby
to improve the experience on screen readers. References can be found on W3C's website and MDN docs
By having ESLint enabled with the Airbnb Accessibility Configs, whenever we write a piece of code that doesn’t follow the accessibility guidelines, we receive a visual warning. Depending on the project, we should choose whether or not to go further and prevent code merging altogether if the accessibility requirements are not met, by using tools like husky, for example.
Set an environment that reproduces the restrictions of a disability, like removing the mouse or using a screen reader.