Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1308 from joshsmith01/master
Browse files Browse the repository at this point in the history
Add aria label to the search form to assist in accessibility
  • Loading branch information
olefredrik authored Oct 12, 2018
2 parents 3eafe78 + e079b62 commit 4fc2539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<div class="input-group">
<input type="text" class="input-group-field" value="" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'foundationpress' ); ?>">
<input type="text" class="input-group-field" value="" name="s" id="s" aria-label="Search" placeholder="<?php
esc_attr_e( 'Search', 'foundationpress' ); ?>">
<div class="input-group-button">
<input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'foundationpress' ); ?>" class="button">
</div>
Expand Down

0 comments on commit 4fc2539

Please sign in to comment.