From 28ec0dff6ed7d2b9c4b401be16029f9f261ec666 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Mon, 16 Jul 2018 16:00:58 +0800 Subject: [PATCH] MDL-35977 comments: Missing label in blog and assignment comment area --- comment/lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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';