Add aria-label to icons with title attributes

This commit is contained in:
Michael Vickers
2020-10-02 21:48:19 +01:00
committed by Frédéric Guillot
parent de56529291
commit eafd82f564
11 changed files with 37 additions and 31 deletions

View File

@@ -35,7 +35,7 @@
</span>
<?php if ($project['is_private']): ?>
<i class="fa fa-lock fa-fw" title="<?= t('Personal project') ?>"></i>
<i class="fa fa-lock fa-fw" title="<?= t('Personal project') ?>" role="img" aria-label="<?= t('Personal project') ?>"></i>
<?php endif ?>
<?= $this->hook->render('template:dashboard:project:after-title', array('project' => $project)) ?>