-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Tabs component needs more keyboard behavior for improved accessibility #1495
Comments
There is also an issue with the disabled Tab 4. When navigating with a screen reader using the Arrow keys VO does not announce that Tab 4 is disabled and the content of the tab can receive focus. |
@dakahn - Please consider changing the label on this issue from enhancement to bug for the following reason. When testing with VO on macOS Mojave with Chrome. The expected keyboard navigation is as follows (also see ARIA APG Example for Tabs):
Actual result:
|
Right, will do. Set priority to medium. Happy to escalate if you feel like this is a high priority issue. |
I agree with @snidersd that single-tab-stop Tabs components are better for keyboard users because they can navigate through and past the tab with fewer keystrokes. Many keyboard users (particularly screen reader users) expect to use arrow keys to traverse through the tabs. Note that the Carbon Tabs component is closer in behavior to the 2nd APG example ("Manual Activation") because the tabs are activated using space or enter key. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. Thanks for your contributions. |
Keeping this open. Tabs should be modified to be a single tab stop in line with the APG example. 👍 |
Please also remove nav wrapper from Tabs. See https://github.com/carbon-design-system/carbon-components-react/issues/2171 for details. |
it looks like our Tabs component has gotten a few updates since this ticket was open. just confirming, are all of the original points still valid for the current component version? |
Still relevant 🌷 |
The Carbon Tabs component could benefit from adding Home, End, and Space key behavior as listed in the Keyboard Interaction section of the ARIA Practices Guide for Tabs.
Rationale:
The text was updated successfully, but these errors were encountered: