Skip to content

Commit

Permalink
Merge pull request #110 from misd-service-development/search-image
Browse files Browse the repository at this point in the history
Added alt text to search button image
  • Loading branch information
JeebsUK authored Mar 4, 2019
2 parents 87002e3 + 44e2405 commit c738e2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/page.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<div class="campl-search-input">
<form action="https://search.cam.ac.uk/web" method="get">
<input id="header-search" type="text" name="query" value="" placeholder="Search"/>
<input id="header-search" type="text" title="Search" name="query" value="" placeholder="Search"/>

<?php
switch (theme_get_setting('search_box')):
Expand All @@ -67,7 +67,7 @@
endswitch;
?>

<input type="image" class="campl-search-submit"
<input type="image" alt="Search" class="campl-search-submit"
src="<?php print $base_theme_path; ?>/images/interface/btn-search-header.png"/>
</form>
</div>
Expand All @@ -80,7 +80,7 @@
<div class="campl-wrap clearfix">
<form class="campl-site-search-form" id="site-search-container" action="https://search.cam.ac.uk/web" method="get">
<div class="campl-search-form-wrapper clearfix">
<input type="text" class="text" name="query" value="" placeholder="Search"/>
<input type="text" class="text" title="Search" name="query" value="" placeholder="Search"/>

<?php
switch (theme_get_setting('search_box')):
Expand All @@ -99,7 +99,7 @@
endswitch;
?>

<input type="image" class="campl-search-submit"
<input type="image" alt="Search" class="campl-search-submit"
src="<?php print $base_theme_path; ?>/images/interface/btn-search.png"/>
</div>
</form>
Expand Down

0 comments on commit c738e2a

Please sign in to comment.