docs: switch to aria-current in active links page (#2019)
This commit is contained in:
@@ -31,7 +31,7 @@ export default function NavigationBar(
|
||||
href={item.href}
|
||||
class={`p-1 sm:p-2 ${
|
||||
isHome ? "text-green-900" : "text-gray-600"
|
||||
} hover:underline data-[current]:font-bold data-[ancestor]:font-bold`}
|
||||
} hover:underline aria-[current]:font-bold`}
|
||||
>
|
||||
{item.name}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user