Skip to content

Commit

Permalink
fix: The navItems are not clickable with vimium (accessibility) (#12813)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fresco <[email protected]>
  • Loading branch information
michaelfresco committed Mar 17, 2024
1 parent 4848ea1 commit 09a98cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nav-bar/nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const NavBar: React.FunctionComponent<NavBarProps> = (props: NavBarProps,
{(props.items || []).map((item) => (
<Tooltip content={item.title} placement='right' arrow={true} key={item.path + item.title}>
<div className={classNames('nav-bar__item', { active: isActiveRoute(locationPath, item.path) })}
onClick={() => context.router.history.push(item.path)}>
onClick={() => context.router.history.push(item.path)} role="checkbox">
<i className={item.iconClassName}/>
</div>
</Tooltip>
Expand Down

0 comments on commit 09a98cb

Please sign in to comment.