Add hidden accessible titles

This commit is contained in:
Michael
2020-10-06 05:29:48 +01:00
committed by GitHub
parent b7c200373a
commit af9aec88a5
11 changed files with 24 additions and 23 deletions

View File

@@ -238,6 +238,7 @@ class TaskHelper extends Base
public function renderPriority($priority)
{
$html = '<span class="task-priority" title="'.t('Task priority').'">';
$html .= '<span class="ui-helper-hidden-accessible">'.t('Task priority').' </span>';
$html .= $this->helper->text->e($priority >= 0 ? 'P'.$priority : '-P'.abs($priority));
$html .= '</span>';