Browse Source

Add empty alt tags for decorative icons

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/33480/head
Joas Schilling 4 years ago
parent
commit
5c8e949a55
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 4
      apps/workflowengine/src/components/Checks/FileMimeType.vue
  2. 6
      apps/workflowengine/src/components/Event.vue
  3. 4
      dist/workflowengine-workflowengine.js
  4. 2
      dist/workflowengine-workflowengine.js.map

4
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>

6
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>

4
dist/workflowengine-workflowengine.js
File diff suppressed because it is too large
View File

2
dist/workflowengine-workflowengine.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save