tangled
alpha
login
or
join now
bwc9876.dev
/
website
0
fork
atom
Files for my website
bwc9876.dev
0
fork
atom
overview
issues
pulls
pipelines
Set aria-label on IconLinks
bwc9876.dev
2 years ago
d623cb0b
0b6a3edf
+1
-1
1 changed file
expand all
collapse all
unified
split
src
components
IconLink.astro
+1
-1
src/components/IconLink.astro
···
13
13
const { href, label, placement, icon, size } = Astro.props;
14
14
---
15
15
16
16
-
<ExtLink data-tooltip={label} data-placement={placement} href={href}>
16
16
+
<ExtLink aria-label={label} data-tooltip={label} data-placement={placement} href={href}>
17
17
<Icon width={size} height={size} name={`bi:${icon}`} />
18
18
</ExtLink>