diff options
author | Maksim Sukharev <antreesy.web@gmail.com> | 2023-04-25 14:16:51 +0200 |
---|---|---|
committer | Maksim Sukharev <antreesy.web@gmail.com> | 2023-04-25 14:16:51 +0200 |
commit | 908aa403203c82284b7cecf6cf545bc48c1e3dcc (patch) | |
tree | 316e7fa9c27951cf3caf5edc6c080a540ae24192 | |
parent | 57dbf67f40f36ae5febf5dc74afa648759ab93d1 (diff) |
add labels to rest NcButton components
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
3 files changed, 5 insertions, 3 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue index 4825e897f..82e72d9f4 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue @@ -23,6 +23,7 @@ <NcPopover class="poll-voters-details" trigger="hover"> <template #trigger> <NcButton type="tertiary-no-background" + :aria-label="t('spreed','Voted participants')" class="poll-voters-details__button"> <template #icon> <AvatarWrapper v-for="(item, index) in details.slice(0, 8)" diff --git a/src/components/NewMessageForm/SimplePollsEditor/PollOption.vue b/src/components/NewMessageForm/SimplePollsEditor/PollOption.vue index b5cbe89d6..99ce82c11 100644 --- a/src/components/NewMessageForm/SimplePollsEditor/PollOption.vue +++ b/src/components/NewMessageForm/SimplePollsEditor/PollOption.vue @@ -25,11 +25,10 @@ <NcTextField class="poll-option__input" v-bind="$attrs" v-on="$listeners" /> <NcButton v-if="canDelete" type="tertiary-no-background" + :aria-label="t('spreed', 'Delete poll option')" @click="deleteOption"> <template #icon> - <Close decorative - title="" - :size="20" /> + <Close :size="20" /> </template> </NcButton> </form> diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 7656a5cfc..ae654306d 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -117,6 +117,8 @@ <!-- in call: open chat tab --> <NcButton v-else + :aria-label="t('spreed', 'Open chat')" + :title="t('spreed', 'Open chat')" class="top-bar__button chat-button dark-hover" type="tertiary" @click="openSidebar('chat')"> |