docs: switch to aria-current in active links page (#2019)

This commit is contained in:
Reed von Redwitz
2023-11-28 17:32:48 +01:00
committed by GitHub
parent 325850719a
commit 6a90fdbf1b
3 changed files with 21 additions and 17 deletions
+1 -1
View File
@@ -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>