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 <15065392+michaelfresco@users.noreply.github.com>
  • Loading branch information
michaelfresco committed Nov 6, 2024
1 parent 54f36c7 commit be194b1
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 be194b1

Please sign in to comment.