Consider excluding Tabs scroll buttons from keyboard navigation #432
Labels
a11y
When the issue or PR is related to accessibility
enhancement
New feature or request
feature
tab
✅ status: resolved
The scroll buttons in the Tabs currently use Icon Buttons which are normally focusable. Those are also disabled when there's no more items to show in the respective direction. This creates some likely undesired behaviors:
For the most part, I'm of the opinion that scroll buttons don't add anything to keyboard navigation as you can already navigate between the tabs with arrows and Home/End. If anything they pollute the tab sequence and my suggestion is to make those non-focusable visual-only elements. Either exclude them w/
tabindex
&aria-hidden
or forgo the icon button entirely and go for a simple icon instead.PS: Some interesting read here https://css-tricks.com/making-disabled-buttons-more-inclusive/
The text was updated successfully, but these errors were encountered: