diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2020-03-26 20:27:48 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@pm.me> | 2020-03-27 11:49:44 +0300 |
commit | eb9cc9465597ef3523133019a8373050f5a7e6cf (patch) | |
tree | d47aedc0ba3273326d369dbe9d19c306f84e252c | |
parent | c99222003d101cf690bcc7795d646ea4f78ebebc (diff) |
Add aria label to conversations
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
3 files changed, 3 insertions, 0 deletions
diff --git a/src/components/LeftSidebar/ConversationsList/AppContentListItem/AppContentListItem.vue b/src/components/LeftSidebar/ConversationsList/AppContentListItem/AppContentListItem.vue index dbe7ab62a..46162fc9e 100644 --- a/src/components/LeftSidebar/ConversationsList/AppContentListItem/AppContentListItem.vue +++ b/src/components/LeftSidebar/ConversationsList/AppContentListItem/AppContentListItem.vue @@ -27,6 +27,7 @@ :class="{ 'active' : isActive }" href="#" class="acli" + :aria-label="t('spreed', 'Conversation, ') + title" @click="onClick"> <!-- default slot for avatar or icon --> <slot name="icon" /> diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index efebd6ca5..40a2eb121 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessageForm/NewMessageForm.vue @@ -67,6 +67,7 @@ </div> <button type="submit" + :aria-label="t('spreed', 'Send message')" class="new-message-form__button submit icon-confirm-fade" @click.prevent="handleSubmit" /> </form> diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index e53c9cc6a..cc1b44377 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -26,6 +26,7 @@ <ActionButton v-shortkey="['f']" :icon="iconFullscreen" + :aria-label="t('spreed', 'Toggle fullscreen')" @shortkey.native="toggleFullscreen" @click="toggleFullscreen"> {{ labelFullscreen }} |