Skip to content
Permalink
Browse files

MDL-64985 message: add aria label to cancel selection button

Add aria labels for cancel edit message button (the little cross
when selecting messages).
  • Loading branch information...
sarjona committed Mar 4, 2019
1 parent 972146b commit 0f7c44657effcc2cc798481d302c407854d036ac
@@ -39,6 +39,7 @@
$string['blockuserconfirmbutton'] = 'Block';
$string['blocknoncontacts'] = 'Prevent non-contacts from messaging me';
$string['canceledit'] = 'Cancel editing messages';
$string['cancelselection'] = 'Cancel message selection';
$string['contactableprivacy'] = 'Accept messages from:';
$string['contactableprivacy_onlycontacts'] = 'My contacts only';
$string['contactableprivacy_coursemember'] = 'My contacts and anyone in my courses';
@@ -38,7 +38,8 @@
<div class="d-flex p-2 align-items-center">
{{#str}} messagesselected:, core_message {{/str}}
<span class="ml-1" data-region="message-selected-court">1</span>
<button type="button" class="ml-auto close" aria-label="" data-action="cancel-edit-mode">
<span aria-hidden="true">&times;</span>
<button type="button" class="ml-auto close" aria-label="{{#str}} cancelselection, core_message {{/str}}"
data-action="cancel-edit-mode">
<span aria-hidden="true">&times;</span>
</button>
</div>

0 comments on commit 0f7c446

Please sign in to comment.
You can’t perform that action at this time.