MDL-67899 message: Add aria-label to the emoji picker button
authorShamim Rezaie <shamim@moodle.com>
Tue, 11 Feb 2020 14:01:22 +0000 (01:01 +1100)
committerShamim Rezaie <shamim@moodle.com>
Tue, 11 Feb 2020 14:01:22 +0000 (01:01 +1100)
lang/en/moodle.php
message/templates/message_drawer_view_conversation_footer_content.mustache

index 6c17f58..dfa17ad 100644 (file)
@@ -2051,6 +2051,7 @@ $string['tocontent'] = 'To item "{$a}"';
 $string['today'] = 'Today';
 $string['todaylogs'] = 'Today\'s logs';
 $string['toeveryone'] = 'to everyone';
 $string['today'] = 'Today';
 $string['todaylogs'] = 'Today\'s logs';
 $string['toeveryone'] = 'to everyone';
+$string['toggleemojipicker'] = 'Toggle emoji picker';
 $string['toomanybounces'] = 'That email address has had too many bounces. You <b>must</b> change it to continue.';
 $string['toomanytags'] = 'This search included too many tags; some will have been ignored.';
 $string['toomanytoshow'] = 'There are too many users to show.';
 $string['toomanybounces'] = 'That email address has had too many bounces. You <b>must</b> change it to continue.';
 $string['toomanytags'] = 'This search included too many tags; some will have been ignored.';
 $string['toomanytoshow'] = 'There are too many users to show.';
index d786bb9..2408d47 100644 (file)
@@ -70,6 +70,7 @@
             </div>
             <button
                 class="btn btn-link btn-icon icon-size-3 ml-1"
             </div>
             <button
                 class="btn btn-link btn-icon icon-size-3 ml-1"
+                aria-label="{{#str}} toggleemojipicker, core {{/str}}"
                 data-action="toggle-emoji-picker"
             >
                 {{#pix}} e/emoticons, core{{/pix}}
                 data-action="toggle-emoji-picker"
             >
                 {{#pix}} e/emoticons, core{{/pix}}