-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility in Storybook #56
Comments
Hi @dgreene1, thanks for your report! Can you give some specific examples which keys you pressed and in which example (which storybook story or deployed example). For me the keybindings work as expected. |
Ah I found an issue from the last time I worked on some performance upgrades, I'm looking into it. Pretty sure that those issues where introduced after the last release though, this should not happen on any consumable version of the library at the moment. |
@lukasbach I was able to replicate it in the “playground” link on the website so it is occurring out in the published version. |
Can you kindly try if you can still replicate it? I did some fixes, and it should hopefully not happen anymore. Btw. the playground shows the current state on master, but the last release to npm was some time ago before I did the changes that probably caused the issue, so consumers of the library should not be affected, that's what I meant with published version, sorry for the misunderstanding. |
Yes, it's still a problem. I'll give the reproduction steps I just used:
expected results: the first folder should collapse (since it was already open) actual results: focus leaves the tree and goes somewhere else. I think it goes to rct-livedescription-tree-1 Comments: Can this rct-livedescription-tree-1 div be removed and made a part of the documentation instead of part of the actual widget? |
I noticed this too. The default live description contains a link which takes focus even though it is not visible on the screen.
This can be done in your own app with the |
The link in the live descriptor region should not be there anymore, I removed that in 8a45c1f and deployed afterwards... Also note that enter does not toggle the collapsed state of an item, it only selects and invokes the primary action, but space does. |
I'll close this for now, please let me know if any other issues persist. |
Describe the bug
A clear and concise description of what the bug is.
When trying to test the accessibility of the library, you can't focus on the tree and the library does not process key events that it is supposed to, like the down arrow moving lower in the tree at that level.
To Reproduce
Try the keyboard shortcuts described in https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html and you'll find that sometimes the focus shows up and sometimes it doesn't. The most troubling issue is when certain arrow keys accidentally take you out of the tree.
Expected behavior
The keyboard behavior described in https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html should work.
Screenshots
n.a.
Desktop (please complete the following information):
Smartphone (please complete the following information):
n.a.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: