Skip to content

Commit

Permalink
fix: #7437, TabView: Unable to select closable icon of tabs through k…
Browse files Browse the repository at this point in the history
…eyboard
  • Loading branch information
ANTONA09 committed Nov 20, 2024
1 parent 98cc740 commit 3a700dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/tabview/TabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ export const TabView = React.forwardRef((inProps, ref) => {
className: cx('tab.closeIcon'),
onClick: (e) => onTabHeaderClose(e, index),
onKeyDown: (e) => onCloseIconKeyDown(e, index),
tabIndex: 0
tabIndex: 0,
'aria-label': ariaLabel('close') || 'Close'
},
getTabPT(tab, 'closeIcon', index)
);
Expand Down

0 comments on commit 3a700dc

Please sign in to comment.