-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
A11y issue - focus should move to the onboarding card when start() is called #88
Comments
Wow, that's a completely valid observation! A real issue that needs to be addressed. |
I was able to get around this. Issue 1 workaround: add this to every step
Issue 2 workaround: wrap VOnboardingWrapper in a the FocusLoop component from vue-a11y
and a visual accessibility fix, to see which button has focus:
If this changes look good, and you think they'd be compatible with the code base, I'm happy to make a fork and work on integrating these changes. |
Hi all! Thank you for you interest and potential suggestions for this issue, I appreciate it. I've implemented a focus-trap feature and it should be live soon |
🎉 This issue has been resolved in version 2.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
This is an accessibility issue.
issue 1:
For a user who is not able to use a mouse, they navigate around the page using the tab key to focus on different elements. This doesn't work well. This also happens when clicking next or back.
issue 2:
Another note, focus should be trapped within the onboarding item once focus is established in there.
To Reproduce
issue 1:
Once start() is called, focus should be moved to inside the onboarding item, this is not the case. Currently, start() is called, but the focus is not moved, making it so this user has to hit tab many times, first focusing on every element on the page before focus is transferred to the onboarding item.
issue 2:
Say for example, if I have a close button, back button, and a next button:
Expected behavior
issue 1:
Focus should be transferred to the onboarding item when next, back, or start() is called.
issue 2:
Focus should be trapped in the onboarding item
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: