mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
fix(a11y): resolve accessibility issues
A11y Improvements - add screen-reader only texts - remove autoFocus on search box - replace disabled link with span text in LinkButton
This commit is contained in:
@@ -19,6 +19,7 @@ const { centered = false } = Astro.props;
|
||||
title={social.linkTitle}
|
||||
>
|
||||
<Fragment set:html={socialIcons[social.name]} />
|
||||
<span class="sr-only">{social.linkTitle}</span>
|
||||
</LinkButton>
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user