We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 689e977 + 796b1e2 commit 5dff157Copy full SHA for 5dff157
1 file changed
src/lib/components/sub_components/clickable_icon.svelte
@@ -1,9 +1,9 @@
1
<script>
2
- let {link, image} = $props()
+ let {link, image, name='social'} = $props()
3
</script>
4
5
-<a target='_blank' href="{link}">
6
- <img src="{image}"/>
+<a target='_blank' href="{link}" aria-label="social link">
+ <img src="{image}" alt="{name}"/>
7
</a>
8
9
<style>
0 commit comments