Skip to content

Commit 5198c1c

Browse files
fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent d128b4a commit 5198c1c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/components/ContactsMenu/Contact.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
:href="action.hyperlink"
4444
class="other-actions">
4545
<template #icon>
46-
<img class="contact__action__icon" :src="action.icon">
46+
<img aria-hidden="true" class="contact__action__icon" :src="action.icon">
4747
</template>
4848
{{ action.title }}
4949
</NcActionLink>
5050
<NcActionText v-else :key="idx" class="other-actions">
5151
<template #icon>
52-
<img class="contact__action__icon" :src="action.icon">
52+
<img aria-hidden="true" class="contact__action__icon" :src="action.icon">
5353
</template>
5454
{{ action.title }}
5555
</NcActionText>

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)