From ba313a7eeb4b82355f5d080ddc3740e1c8e25f81 Mon Sep 17 00:00:00 2001 From: PhistucK Date: Wed, 11 Dec 2019 21:31:40 +0200 Subject: [PATCH] Added a tooltip to the voice message button (#1916) * Added a string for the voice recording button title * Added a title to the voice message button Added it twice - once for accessibility purposes on the anchor that actually activates the action (though hovering does not show this title) and the other is on the element on which the user actually clicks and hovers, in order to show the title. * Added a title to the voice message button --- app/js/locales/en-us.json | 1 + app/partials/desktop/send_form.html | 6 +++--- app/partials/mobile/send_form.html | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 7ebccb51..3be676eb 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -549,6 +549,7 @@ "im_emoji_tab": "Emoji", "im_stickers_tab": "Stickers", "im_stickers_tab_recent": "Frequently used", + "im_voice_record_title": "Record a message", "im_media_attach_title": "Send media", "im_attach_file_title": "Send file", "im_emoji_btn_title": "Insert emoticon", diff --git a/app/partials/desktop/send_form.html b/app/partials/desktop/send_form.html index 1edf42da..8ee0865d 100644 --- a/app/partials/desktop/send_form.html +++ b/app/partials/desktop/send_form.html @@ -54,8 +54,8 @@ - -
+ +
@@ -67,4 +67,4 @@
- \ No newline at end of file + diff --git a/app/partials/mobile/send_form.html b/app/partials/mobile/send_form.html index f6186bd0..032a069b 100644 --- a/app/partials/mobile/send_form.html +++ b/app/partials/mobile/send_form.html @@ -44,7 +44,7 @@ -
+
@@ -56,4 +56,4 @@
- \ No newline at end of file +