mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor(a11y): add linkTitle in social links for more meaningful voiceover
This commit is contained in:
@@ -16,7 +16,7 @@ const { centered = false } = Astro.props;
|
||||
<LinkButton
|
||||
href={social.href}
|
||||
className="link-button"
|
||||
title={social.name}
|
||||
title={social.linkTitle}
|
||||
>
|
||||
<Fragment set:html={socialIcons[social.name]} />
|
||||
</LinkButton>
|
||||
|
||||
Reference in New Issue
Block a user