We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cb2602 commit 28c0bc4Copy full SHA for 28c0bc4
src/shared/components/tab/BottomNav.tsx
@@ -31,15 +31,18 @@ export const BottomNav = () => {
31
rounded-[37.07px]
32
bg-mint-50 border border-mint-300
33
"
34
+ aria-label="Bottom navigation"
35
>
36
{NAV_ITEMS.map((item) => {
37
const isActive =
- router.pathname === item.href || router.pathname.startsWith(item.href + '/');
38
+ router.pathname === item.href ||
39
+ router.pathname.startsWith(item.href + '/');
40
41
return (
42
<Link
43
key={item.id}
44
href={item.href}
45
+ aria-current={isActive ? 'page' : undefined}
46
className="flex-1 flex justify-center"
47
48
<TabItem label={item.label} icon={item.icon} isActive={isActive} />
0 commit comments