diff --git a/app/navbar.tsx b/app/navbar.tsx index ebfe5e8..ed65342 100644 --- a/app/navbar.tsx +++ b/app/navbar.tsx @@ -124,21 +124,21 @@ export function Navbar() { /> - + Orders - + Account - + {wishlistItems.length > 0 && ( @@ -154,6 +154,7 @@ export function Navbar() { size="icon" className="h-9 w-9 relative text-muted-foreground hover:text-foreground transition-colors duration-300" onClick={() => setIsOpen(true)} + aria-label="Cart" > {totalItems > 0 && ( diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx index 22394bd..bd553e9 100644 --- a/components/layout/navbar.tsx +++ b/components/layout/navbar.tsx @@ -71,10 +71,10 @@ export function Navbar() { autoFocus className="h-9 w-32 md:w-48 px-3 bg-secondary/50 border border-input rounded-none text-sm focus:outline-none focus:ring-1 focus:ring-ring" /> - + - setShowSearch(false)}> + setShowSearch(false)} aria-label="Close search"> @@ -87,7 +87,7 @@ export function Navbar() { {/* Wishlist */} - + {wishlistItems.length > 0 && ( @@ -100,14 +100,14 @@ export function Navbar() { {/* Account */} - + Account {/* Cart */} - setIsOpen(true)}> + setIsOpen(true)} aria-label="Cart"> {totalItems > 0 && ( diff --git a/components/ui/theme-toggle-button.tsx b/components/ui/theme-toggle-button.tsx index a1c6cbb..4380d86 100644 --- a/components/ui/theme-toggle-button.tsx +++ b/components/ui/theme-toggle-button.tsx @@ -69,6 +69,7 @@ export default function ThemeToggleButton({ size="icon" className="w-9 p-0 h-9 relative group" name="Theme Toggle Button" + aria-label="Toggle theme" >