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

@@ -6,7 +6,7 @@
<?= $this->form->hidden('action', array('action' => 'index')) ?>
<div class="input-addon">
<?= $this->form->text('search', array(), array(), array('placeholder="'.t('Search').'"'), 'input-addon-field') ?>
<?= $this->form->text('search', array(), array(), array('placeholder="'.t('Search').'"', 'aria-label="'.t('Search').'"'), 'input-addon-field') ?>
<div class="input-addon-item">
<?= $this->render('app/filters_helper') ?>
</div>