Skip to content
Snippets Groups Projects
Commit 8b8f72dd authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

global search: add alt attributes and change display of reset icon, fixes #821

Closes #821

Merge request studip/studip!439
parent 65a5354a
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
transition: opacity $transition-duration;
}
&.has-value #globalsearch-clear {
opacity: 1;
display: inline;
}
// The actual search input
......@@ -286,7 +286,7 @@ html.responsive-display {
}
#globalsearch-clear {
opacity: 1;
display: inline;
}
}
}
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment