Skip to content

Commit f742094

Browse files
committed
fix: add aria-hidden for accessibility as requested
1 parent 0b1a297 commit f742094

File tree

1 file changed

+1
-0
lines changed
  • apps/web/src/components/landing-sections

1 file changed

+1
-0
lines changed

apps/web/src/components/landing-sections/navbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const Navbar = () => {
4747
<motion.nav
4848
initial={{ opacity: 0, pointerEvents: "none" }}
4949
animate={showNavbar ? { opacity: 1, pointerEvents: "auto" } : { opacity: 0, pointerEvents: "none" }}
50+
aria-hidden={!showNavbar}
5051
transition={{ duration: 0.3 }}
5152
className={cn(
5253
" z-40 flex items-center justify-between px-4 py-3 bg-neutral-900/5 backdrop-blur-xl border-white/10",

0 commit comments

Comments
 (0)