Add aria-label alongside title attributes

This commit is contained in:
Michael Vickers
2020-10-01 21:17:03 +01:00
committed by Frédéric Guillot
parent 4c68ab4dbd
commit ce69343001
6 changed files with 8 additions and 8 deletions

View File

@@ -124,7 +124,7 @@ class TaskHelper extends Base
$html .= $this->helper->form->select('owner_id', $users, $values, $errors, $attributes);
$html .= ' ';
$html .= '<small>';
$html .= '<a href="#" class="assign-me" data-target-id="form-owner_id" data-current-id="'.$this->userSession->getId().'" title="'.t('Assign to me').'">'.t('Me').'</a>';
$html .= '<a href="#" class="assign-me" data-target-id="form-owner_id" data-current-id="'.$this->userSession->getId().'" title="'.t('Assign to me').'" aria-label="'.t('Assign to me').'">'.t('Me').'</a>';
$html .= '</small>';
return $html;