Skip to content

Commit

Permalink
Merge pull request #4089 from tejasaditya/WV-492
Browse files Browse the repository at this point in the history
WV-492 ADA Accessibility - resolve ARIA role issues TEAM REVIEW
  • Loading branch information
DaleMcGrew authored Oct 10, 2024
2 parents d39dcef + 86a7ca0 commit a753cb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/components/Navigation/TabWithPushHistory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export default function TabWithPushHistory (props) {

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

0 comments on commit a753cb0

Please sign in to comment.