-
Notifications
You must be signed in to change notification settings - Fork 394
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] keyboard navigation is broken and some interactive elements are missing focus styles. #1149
Comments
Sometimes what happens is designers don't like the outlines or dotted borders around elements but their value for accessibility can't be ignored. There is a way via which we can only make the outlines or specific focus styles appear when the user is navigating the content using a keyboard. For instance, https://gitpod.io is a good example which does that. |
I volunteer to make small Prs related to accessibility 🙂 I'll start off by making a PR for focus styles for Keyboard users only. |
It would be nice if someone else can work on it. |
I believe this is optional. As long as a keyboard user is able to access a dropdown by pressing enter, the dropdown is accessible. Tabbing is still missing on a couple parts of the websites but once we get those fixed, we should be good to close this issue! Looked through the site and found areas that are having issues with keyboard navigation:
|
Hi @julieg18 . Should we transfer this issue to the theme repo, or is it dvc.org-specific? Assuming it's still relevant |
According to WCAG and WAI websites and web apps must be fully operable via the keyboard.
There is a short video that tells why it is important:
Web Accessibility Perspectives: Keyboard Compatibility
Here are a few things that should be done:
The elements that are missing focus styles are anchors, and images that are wrapped by anchors, docs navigation, docs side panel and a few buttons.
Apart from the focus state styles there must be a tabbing order for keyboard users and dropdowns should reveal their content when they receive focus.
the hamburger menu is missing keyboard support i.e users should be able to open the menu via tabbing to the hamburger and then pressing enter which will make the menu appear.
On Desktop when the hamburger menu is hidden visually it should also be inaccessible to the keyboard users as well. Currently, On the Desktop to get to the contents on any page(below the nav) I have to first tab through 2 navigations with the exact same links.
The text was updated successfully, but these errors were encountered: