feat(PageController): exclude aria-hidden elements

This commit is contained in:
Simon
2026-01-14 18:04:31 +08:00
parent 338e317be1
commit a1e70e663d
2 changed files with 11 additions and 3 deletions

View File

@@ -85,8 +85,8 @@ export default function Header() {
role="navigation"
aria-label={t('header.nav_docs')}
>
<span className="text-xs font-mono text-gray-400 dark:text-gray-500 tabular-nums">
v{import.meta.env.VERSION}
<span className="text-xs font-mono text-gray-400 dark:text-gray-500 tabular-nums before:content-['v']">
{import.meta.env.VERSION}
</span>
<Link
href="/docs/introduction/overview"