Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2020-03-26 20:27:48 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2020-03-27 11:49:44 +0300
commiteb9cc9465597ef3523133019a8373050f5a7e6cf (patch)
treed47aedc0ba3273326d369dbe9d19c306f84e252c
parentc99222003d101cf690bcc7795d646ea4f78ebebc (diff)
Add aria label to conversations
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
-rw-r--r--src/components/LeftSidebar/ConversationsList/AppContentListItem/AppContentListItem.vue1
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue1
-rw-r--r--src/components/TopBar/TopBar.vue1
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 }}