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

@@ -9,7 +9,7 @@
<form method="get" action="<?= $this->url->dir() ?>" class="search">
<?= $this->form->hidden('controller', array('controller' => 'GroupListController')) ?>
<?= $this->form->hidden('action', array('action' => 'index')) ?>
<?= $this->form->text('search', $values, array(), array('placeholder="'.t('Search').'"')) ?>
<?= $this->form->text('search', $values, array(), array('placeholder="'.t('Search').'"', 'aria-label="'.t('Search').'"')) ?>
</form>
</div>