diff --git a/comment/lib.php b/comment/lib.php index 9034c84c500..07f7a5b13c8 100644 --- a/comment/lib.php +++ b/comment/lib.php @@ -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';