diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-02-14 07:45:19 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-02-14 07:45:19 +0000 |
| commit | 8b8f72dd826088f5dd243f1060be564992be898d (patch) | |
| tree | 6a2ada22e4adb816aac6f599fbe983dfcfbb096c /templates | |
| parent | 65a5354a4a0e51470201c0e74f91f34a84bd623a (diff) | |
global search: add alt attributes and change display of reset icon, fixes #821
Closes #821
Merge request studip/studip!439
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/globalsearch/searchbar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/globalsearch/searchbar.php b/templates/globalsearch/searchbar.php index beb4ba2..6c2f07b 100644 --- a/templates/globalsearch/searchbar.php +++ b/templates/globalsearch/searchbar.php @@ -3,7 +3,8 @@ placeholder="<?= _('Was suchen Sie?') ?>" role="searchbox"> <?= Icon::create('decline', Icon::ROLE_INACTIVE)->asImg([ 'id' => 'globalsearch-clear', - 'class' => 'hidden-small-down' + 'class' => 'hidden-small-down', + 'alt' => _('Suche zurücksetzen'), ]) ?> <?= Icon::create('search', Icon::ROLE_INFO_ALT)->asInput([ 'id' => 'globalsearch-icon', |
