Skip to content

Commit

Permalink
add tabIndex to TabWithPushHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
eaw-pid committed Jan 13, 2025
1 parent 5680df9 commit 814a7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Navigation/TabWithPushHistory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function TabWithPushHistory (props) {

// console.log(`TabWithPushHistory label:${label}`);
return (
<Tab component={Link} to={to} classes={classes} id={id} label={label} onClick={() => handleClick(to)} />
<Tab component={Link} to={to} classes={classes} id={id} label={label} tabIndex={0} role="tab" onClick={() => handleClick(to)} />
);
}
TabWithPushHistory.propTypes = {
Expand Down

0 comments on commit 814a7fe

Please sign in to comment.