aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-08 13:03:45 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-08 13:03:45 +0200
commit5c8e949a55c031205824334a3553eea8497bcee3 (patch)
tree7d83178afbbc3d75c6663e181147abdeb1894f30 /apps/workflowengine/src
parentfb53842a6103570eb6d9b4d9efd5d2ab717e52fe (diff)
downloadnextcloud-server-5c8e949a55c031205824334a3553eea8497bcee3.tar.gz
nextcloud-server-5c8e949a55c031205824334a3553eea8497bcee3.zip
Add empty alt tags for decorative icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r--apps/workflowengine/src/components/Checks/FileMimeType.vue4
-rw-r--r--apps/workflowengine/src/components/Event.vue6
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue
index 4a920e4c889..bdbe0a56ccd 100644
--- a/apps/workflowengine/src/components/Checks/FileMimeType.vue
+++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue
@@ -32,12 +32,12 @@
@input="setValue">
<template slot="singleLabel" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
- <img v-else class="option__icon-img" :src="props.option.iconUrl">
+ <img v-else class="option__icon-img" :src="props.option.iconUrl" alt="">
<span class="option__title option__title_single">{{ props.option.label }}</span>
</template>
<template slot="option" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
- <img v-else class="option__icon-img" :src="props.option.iconUrl">
+ <img v-else class="option__icon-img" :src="props.option.iconUrl" alt="">
<span class="option__title">{{ props.option.label }}</span>
</template>
</Multiselect>
diff --git a/apps/workflowengine/src/components/Event.vue b/apps/workflowengine/src/components/Event.vue
index fd35f61290c..6eb3872e8f8 100644
--- a/apps/workflowengine/src/components/Event.vue
+++ b/apps/workflowengine/src/components/Event.vue
@@ -1,7 +1,7 @@
<template>
<div class="event">
<div v-if="operation.isComplex && operation.fixedEntity !== ''" class="isComplex">
- <img class="option__icon" :src="entity.icon">
+ <img class="option__icon" :src="entity.icon" alt="">
<span class="option__title option__title_single">{{ operation.triggerHint }}</span>
</div>
<Multiselect v-else
@@ -14,12 +14,12 @@
@input="updateEvent">
<template slot="selection" slot-scope="{ values, isOpen }">
<div v-if="values.length && !isOpen" class="eventlist">
- <img class="option__icon" :src="values[0].entity.icon">
+ <img class="option__icon" :src="values[0].entity.icon" alt="">
<span v-for="(value, index) in values" :key="value.id" class="text option__title option__title_single">{{ value.displayName }} <span v-if="index+1 < values.length">, </span></span>
</div>
</template>
<template slot="option" slot-scope="props">
- <img class="option__icon" :src="props.option.entity.icon">
+ <img class="option__icon" :src="props.option.entity.icon" alt="">
<span class="option__title">{{ props.option.displayName }}</span>
</template>
</Multiselect>