Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: careers accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Sep 22, 2023
1 parent 113d87f commit 863c02f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ const CareerNav = () => {
return (
<NavTemplate
renderLogo={() => (
<Link url={{ type: 'internal', to: '/' }}>
<Image src={CareerNavLogo} className={careers_nav_logo} />
<Link url={{ type: 'internal', to: '/' }} aria-label="deriv careers logo link">
<Image
src={CareerNavLogo}
className={careers_nav_logo}
alt="deriv careers logo"
/>
</Link>
)}
items={career_nav_items}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ const DesktopMenu = ({ has_centered_items }: IDesktopNavbarProps) => {
))}
{link_items.map((item) => (
<NavigationMenu.Item key={item.id} value={item.data.title} asChild>
<NavigationMenu.Link asChild>
<NavSingleItem item={item.data} />
</NavigationMenu.Link>
<li>
<NavigationMenu.Link asChild>
<NavSingleItem item={item.data} />
</NavigationMenu.Link>
</li>
</NavigationMenu.Item>
))}
</NavigationMenu.List>
Expand Down

0 comments on commit 863c02f

Please sign in to comment.