Skip to content

Commit 37a9102

Browse files
committed
feat: optimize links to increase accessibility of page
1 parent 4cc6a9c commit 37a9102

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/profile-links.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const ProfileLinks = () => {
3434
color: ${theme.palette.accents_6};
3535
text-transform: uppercase;
3636
font-size: 0.8rem;
37-
margin-right: ${theme.layout.gapHalf};
37+
padding: ${theme.layout.gapQuarter};
3838
}
3939
4040
.link :global(a:hover) {

lib/components/profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Profile = React.memo(({}) => {
1919
<Row align="bottom" className="user">
2020
<NextLink href="/" passHref>
2121
<Link>
22-
<User src="/assets/avatar.png" name={Configs.author}>
22+
<User src="/assets/avatar.png" name={Configs.author} altText="avatar">
2323
{Configs.summary}
2424
</User>
2525
</Link>

0 commit comments

Comments
 (0)