MDL-35977 comments: Missing label in blog and assignment comment area

This commit is contained in:
Mihail Geshoski 2018-07-16 16:00:58 +08:00
parent 0180369b27
commit 329a84b489

View File

@ -493,7 +493,8 @@ class comment {
$textareaattrs = array(
'name' => 'content',
'rows' => 2,
'id' => 'dlg-content-'.$this->cid
'id' => 'dlg-content-'.$this->cid,
'aria-label' => get_string('addcomment')
);
if (!$this->fullwidth) {
$textareaattrs['cols'] = '20';