Skip to content

Commit

Permalink
fix: aria-label include its content.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZL-Asica committed Oct 22, 2024
1 parent 05dd3e5 commit 5df96ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function Header({
}}
>
<nav className='mx-auto flex max-w-7xl items-center justify-between px-4 py-4'>
<Link href='/' aria-label='Go to home page'>
<Link href='/' aria-label={`Navigate to Home Page of ${siteTitle}`}>
{isHomePage ? (
<h1 className='text-2xl font-bold'>{siteTitle}</h1>
) : (
Expand Down

0 comments on commit 5df96ba

Please sign in to comment.