diff --git a/components/features/cart-drawer.tsx b/components/features/cart-drawer.tsx index 475a691..47da108 100644 --- a/components/features/cart-drawer.tsx +++ b/components/features/cart-drawer.tsx @@ -117,6 +117,7 @@ export function CartDrawer() { size="icon" className="h-7 w-7 rounded-none" onClick={() => updateQuantity(item.id, item.size, item.quantity - 1, item.color, item.comboGroupId)} + aria-label="Decrease quantity" > @@ -126,6 +127,7 @@ export function CartDrawer() { size="icon" className="h-7 w-7 rounded-none" onClick={() => updateQuantity(item.id, item.size, item.quantity + 1, item.color, item.comboGroupId)} + aria-label="Increase quantity" > @@ -136,6 +138,7 @@ export function CartDrawer() { size="icon" className="h-7 w-7 self-start text-muted-foreground hover:text-foreground" onClick={() => removeItem(item.id, item.size, item.color, item.comboGroupId)} + aria-label="Remove item" > diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx index 22394bd..c151b09 100644 --- a/components/layout/navbar.tsx +++ b/components/layout/navbar.tsx @@ -35,6 +35,7 @@ export function Navbar() { size="icon" className="md:hidden mr-2" onClick={() => setShowMobileMenu(!showMobileMenu)} + aria-label="Toggle mobile menu" > {showMobileMenu ? : } @@ -71,10 +72,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" /> - -