Add ARIA label to form text editor without label

This commit is contained in:
Michael
2020-10-04 18:31:49 +01:00
committed by GitHub
parent c5f18fb136
commit b8e6157738
8 changed files with 11 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ class TaskHelper extends Base
public function renderDescriptionField(array $values, array $errors)
{
return $this->helper->form->textEditor('description', $values, $errors, array('tabindex' => 2));
return $this->helper->form->textEditor('description', $values, $errors, array('tabindex' => 2, 'aria-label' => t('Description')));
}
public function renderDescriptionTemplateDropdown($projectId)