Skip to content

Commit

Permalink
TabPanel: keep tabs accessible when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Aug 20, 2024
1 parent b937a27 commit 44ede08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/tab-panel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const UnforwardedTabPanel = (
showTooltip={ !! tab.icon }
/>
}
accessibleWhenDisabled
>
{ ! tab.icon && tab.title }
</Ariakit.Tab>
Expand Down

0 comments on commit 44ede08

Please sign in to comment.