diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-04-06 11:10:42 +0200 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-04-06 12:37:40 +0200 |
commit | 0df1361dddcc43c6b0a3fd9bfbae9610b7ed673c (patch) | |
tree | caa2d7aa42682e5b6e4ff3a7667a1249a40ea02d /apps/user_status/src | |
parent | f61bcd8b5f49a7b85576849469d3a73b14d0ecd7 (diff) | |
download | nextcloud-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.vue | 2 | ||||
-rw-r--r-- | apps/user_status/src/components/OnlineStatusSelect.vue | 2 | ||||
-rw-r--r-- | apps/user_status/src/components/PredefinedStatus.vue | 2 |
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"> |