Skip to content

Commit

Permalink
fix: missing accesibility attributes for mobile navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenbupe committed Aug 15, 2024
1 parent 853a4e3 commit 52c25b2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ const links = [
href={linkedinUrl}
target="_blank"
aria-label="LinkedIn"
><Icon name="tabler:brand-linkedin" size={18} /></Anchor
>
><Icon name="tabler:brand-linkedin" size={18} />

<span class="sr-only">LinkedIn</span>
</Anchor>

<Anchor
class="p-2"
Expand All @@ -140,8 +142,9 @@ const links = [
href={githubUrl}
target="_blank"
aria-label="Github"
><Icon name="tabler:brand-github" size={18} /></Anchor
>
><Icon name="tabler:brand-github" size={18} />
<span class="sr-only">Github</span>
</Anchor>

<Anchor
class="p-2"
Expand Down Expand Up @@ -224,15 +227,17 @@ const links = [
variant="outline"
href={linkedinUrl}
target="_blank"
><Icon name="tabler:brand-linkedin" size={18} /></Anchor
>
aria-label="LinkedIn"
><Icon name="tabler:brand-linkedin" size={18} />
</Anchor>

<Anchor
class="p-2"
size="sm"
variant="outline"
href={githubUrl}
target="_blank"
aria-label="Github"
><Icon name="tabler:brand-github" size={18} /></Anchor
>

Expand All @@ -242,6 +247,7 @@ const links = [
variant="outline"
href={mailUrl}
target="_blank"
aria-label="Mail"
>
<Icon name="tabler:mail" size={18} />
</Anchor>
Expand Down

0 comments on commit 52c25b2

Please sign in to comment.