Skip to content

Commit 6ca34c4

Browse files
committed
feat(theme): aria-label for social links
1 parent 43f6f02 commit 6ca34c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/theme-default/components/VPSocialLink.vue

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const svg = computed(() => {
1818
<a
1919
class="VPSocialLink"
2020
:href="link"
21+
:aria-label="typeof icon === 'string' ? icon : ''"
2122
target="_blank"
2223
rel="noopener"
2324
v-html="svg"

0 commit comments

Comments
 (0)