aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/src
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-04-06 11:10:42 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-04-06 12:37:40 +0200
commit0df1361dddcc43c6b0a3fd9bfbae9610b7ed673c (patch)
treecaa2d7aa42682e5b6e4ff3a7667a1249a40ea02d /apps/user_status/src
parentf61bcd8b5f49a7b85576849469d3a73b14d0ecd7 (diff)
downloadnextcloud-server-0df1361dddcc43c6b0a3fd9bfbae9610b7ed673c.tar.gz
nextcloud-server-0df1361dddcc43c6b0a3fd9bfbae9610b7ed673c.zip
Add `aria-hidden='true'` to decorative icons inside of modal dialogs
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/user_status/src')
-rw-r--r--apps/user_status/src/UserStatus.vue2
-rw-r--r--apps/user_status/src/components/OnlineStatusSelect.vue2
-rw-r--r--apps/user_status/src/components/PredefinedStatus.vue2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_status/src/UserStatus.vue b/apps/user_status/src/UserStatus.vue
index 3c8cc151e76..4b7c8da41f3 100644
--- a/apps/user_status/src/UserStatus.vue
+++ b/apps/user_status/src/UserStatus.vue
@@ -43,7 +43,7 @@
class="user-status-menu-item__toggle"
href="#"
@click.prevent.stop="openModal">
- <span :class="statusIcon" class="user-status-menu-item__toggle-icon" />
+ <span aria-hidden="true" :class="statusIcon" class="user-status-menu-item__toggle-icon" />
{{ visibleMessage }}
</toggle>
</div>
diff --git a/apps/user_status/src/components/OnlineStatusSelect.vue b/apps/user_status/src/components/OnlineStatusSelect.vue
index 52b6022fb44..df7d1377ee3 100644
--- a/apps/user_status/src/components/OnlineStatusSelect.vue
+++ b/apps/user_status/src/components/OnlineStatusSelect.vue
@@ -29,7 +29,7 @@
@change="onChange">
<label :for="id" class="user-status-online-select__label">
{{ label }}
- <span :class="icon" role="img" />
+ <span :class="icon" aria-hidden="true" role="img" />
<em class="user-status-online-select__subline">{{ subline }}</em>
</label>
</div>
diff --git a/apps/user_status/src/components/PredefinedStatus.vue b/apps/user_status/src/components/PredefinedStatus.vue
index b1a16d6fa59..b5eafaed30b 100644
--- a/apps/user_status/src/components/PredefinedStatus.vue
+++ b/apps/user_status/src/components/PredefinedStatus.vue
@@ -24,7 +24,7 @@
@keyup.enter="select"
@keyup.space="select"
@click="select">
- <span class="predefined-status__icon">
+ <span aria-hidden="true" class="predefined-status__icon">
{{ icon }}
</span>
<span class="predefined-status__message">