Skip to content

Commit 5c85a6c

Browse files
committed
fix: add aria-label to social network links for improved accessibility
1 parent 3947476 commit 5c85a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const projects = [
6060
<div class="flex gap-4 mt-6 justify-center lg:justify-start">
6161
{
6262
socialNetworks.map(socialNetwork => (
63-
<a href={socialNetwork.url} class="text-grayblue-300 hover:text-blue-300 transition-transform hover:scale-110">
63+
<a aria-label={socialNetwork.name} href={socialNetwork.url} class="text-grayblue-300 hover:text-blue-300 transition-transform hover:scale-110">
6464
<div class="h-6 w-6">
6565
<Fragment set:html={socialNetwork.image} />
6666
</div>

0 commit comments

Comments
 (0)