Skip to content

Commit

Permalink
Turn search-sidebar into a landmark
Browse files Browse the repository at this point in the history
  • Loading branch information
xi authored and demiankatz committed Apr 15, 2024
1 parent 0e1801c commit 688daeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions languages/de.ini
Expand Up @@ -1204,6 +1204,7 @@ Search Home = "Suche"
Search Mode = "Suchmodus"
Search Results = "Suchergebnisse"
search results of = "Treffer von"
Search sidebar = "Such-Seitenleiste"
Search Tips = "Suchtipps"
Search Tools = "Suchwerkzeuge"
Search Type = "Suchmodus"
Expand Down
1 change: 1 addition & 0 deletions languages/en.ini
Expand Up @@ -1234,6 +1234,7 @@ Search Home = "Search Home"
Search Mode = "Search Mode"
Search Results = "Search Results"
search results of = "search results of"
Search sidebar = "Search sidebar"
Search Tips = "Search Tips"
Search Tools = "Search Tools"
Search Type = "Search Type"
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/search/results.phtml
Expand Up @@ -121,7 +121,7 @@

<?php /* Refine Search Options */ ?>
<?php if ($recommendations): ?>
<div class="<?=$this->layoutClass('sidebar')?>" id="search-sidebar">
<div class="<?=$this->layoutClass('sidebar')?>" id="search-sidebar" role="region" aria-label="<?=$this->transEscAttr('Search sidebar') ?>">
<?php foreach ($recommendations as $index => $current): ?>
<?=$this->recommend($current, 'side', $index)?>
<?php endforeach; ?>
Expand Down

0 comments on commit 688daeb

Please sign in to comment.