storybook: storybook/addon-a11y not working with Ember
Describe the bug
After including storybook/addon-a11y, and putting in an element that should return an error (ie. a red button with red text), I get no errors.
A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to index.js and add the following code ```
storiesOf(“buttons”, module)
.add(“html button”, () => {
return {
template: hbs
<button style='background-color:red; color: red'>Inaccessible button</button>, }; });
2. I don't see error in the pane.
<img width="859" alt="screen shot 2018-12-17 at 12 36 26 pm" src="https://user-images.githubusercontent.com/1967604/50114064-78b29f00-01f8-11e9-848c-46e201a128fd.png">
**Expected behavior**
I would expect an a11y error to show up.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Code snippets**
If applicable, add code samples to help explain your problem.
**System:**
- OS: [MacOS]
- Device: [Macbook Pro 2018]
- Browser: [chrome]
- Framework: [ember]
- Addons: [@storybook/addon-a11y]
- Version: [e.g. 4.0.0]
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (5 by maintainers)
I’ve upgraded to V5 and
addon-a11ynow works.Same thing is happening with
storybook/html