Add image alt tag to tool logo -- vue-a11y

This commit is contained in:
Dannon Baker
2022-08-22 10:16:49 -04:00
parent 30107d5be0
commit deafe95eaf
+1 -1
View File
@@ -5,7 +5,7 @@
<span class="description">{{ tool.description }}</span>
</a>
<a v-else :class="targetClass" :href="tool.link" :target="tool.target" @click="onClick">
<img v-if="tool.logo" class="logo" :src="tool.logo" />
<img v-if="tool.logo" class="logo" :src="tool.logo" :alt="tool.name"/>
<span class="labels">
<span
v-for="(label, index) in tool.labels"