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

This commit is contained in:
Mihail Geshoski
2018-07-23 08:56:06 +08:00
parent 2d6cb43e1e
commit 28ec0dff6e
+2 -1
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';