[Bug][a11y]: Tabs overflow component has action buttons that don't necessarily need keyboard focus #3270
Closed
1 task done
Labels
a11y
Issues related to accessibility
bug
Something isn't working
Component: Tabs
good first issue
Good for newcomers
help wanted
Extra attention is needed
Code of conduct
Impacted component(s)
sp-tabs-overflow
Expected behavior
Please take overflow related previous and next buttons out of taborder by using tabindex="-1" on them. They're also not labelled, so please add aria-label to both the buttons.
Actual behavior
Having tabstops before the tabs component to reveal any hidden tabs seems unnecessary. Keyboard users are able to use arrow keys to navigate through all the tabs and the visual affordance allows them to know that there are more tabs. For screen reader users, the number of tabs is already conveyed by the tablist. So, overall addition of two tabstops (for back and forward buttons) is not necessary. Even on mobile, using a screenreader, a user can go through all the tabs without needing to use these buttons.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
No response
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: