Skip to content

Commit

Permalink
fix(tabs): overflow scroll buttons should not be focusable (#13792)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tay1orjones and kodiakhq[bot] authored May 12, 2023
1 parent b33286f commit 85f662c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/components/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ function TabList({
<div className={className}>
<button
aria-hidden="true"
tabIndex="-1"
aria-label="Scroll left"
ref={previousButton}
className={previousButtonClasses}
Expand Down Expand Up @@ -358,6 +359,7 @@ function TabList({
</div>
<button
aria-hidden="true"
tabIndex="-1"
aria-label="Scroll right"
ref={nextButton}
className={nextButtonClasses}
Expand Down

0 comments on commit 85f662c

Please sign in to comment.