Skip to content

Commit

Permalink
More accessible img tag
Browse files Browse the repository at this point in the history
  • Loading branch information
joezimjs committed Dec 13, 2021
1 parent a264e28 commit 6fe55f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FilePreview.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<component :is="tag" class="file-preview">
<button @click="$emit('remove', file)" class="close-icon">&times;</button>
<img :src="file.url" alt="" width="500" />
<img :src="file.url" :alt="file.file.name" :title="file.file.name" />

<span class="status-indicator loading-indicator" v-show="file.status == 'loading'">In Progress</span>
<span class="status-indicator success-indicator" v-show="file.status == true">Uploaded</span>
Expand Down

0 comments on commit 6fe55f9

Please sign in to comment.