Add aria-label to form inputs without labels

This commit is contained in:
Michael Vickers
2020-10-01 22:02:22 +01:00
committed by Frédéric Guillot
parent ce69343001
commit 8308189333
10 changed files with 10 additions and 10 deletions

View File

@@ -51,7 +51,7 @@
),
'autocomplete') ?>
<?= $this->form->select('role', $roles, $values, $errors) ?>
<?= $this->form->select('role', $roles, $values, $errors, array('aria-label="'.t('Role').'"')) ?>
<button type="submit" class="btn btn-blue"><?= t('Add') ?></button>
</form>