MDL-64985 message: add aria label to cancel selection button
Add aria labels for cancel edit message button (the little cross when selecting messages).
This commit is contained in:
@@ -39,6 +39,7 @@ $string['blockuserconfirm'] = 'Are you sure you want to block {$a}?';
|
||||
$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">×</span>
|
||||
<button type="button" class="ml-auto close" aria-label="{{#str}} cancelselection, core_message {{/str}}"
|
||||
data-action="cancel-edit-mode">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user