diff options
author | Luke Bacon <luke@equivalentideas.com> | 2015-04-01 13:21:41 +1100 |
---|---|---|
committer | Luke Bacon <luke@equivalentideas.com> | 2015-04-01 13:21:41 +1100 |
commit | 0b0a2ea3fdab2edc5604819ca5079dda25670400 (patch) | |
tree | 51c0f5357e711cb134c9c4bbfbebadb76df06398 | |
parent | cebea2496b3cd8e5afe08bbe2cdabb818993fa1d (diff) |
add placeholder 'Search' as visual affordance
The placeholder acts as a visual label,
inside the input
relates to issue #2210
-rw-r--r-- | app/views/general/_responsive_topnav.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/general/_responsive_topnav.html.erb b/app/views/general/_responsive_topnav.html.erb index 56ae21a4a..d39ec59ed 100644 --- a/app/views/general/_responsive_topnav.html.erb +++ b/app/views/general/_responsive_topnav.html.erb @@ -25,7 +25,7 @@ <label class="visually-hidden" for="navigation_search_button"> Search </label> - <%= text_field_tag 'query', params[:query], { :id => "navigation_search_button", :type => "search", :title => "type your search term here" } %> + <%= text_field_tag 'query', params[:query], { :id => "navigation_search_button", :type => "search", :placeholder => "Search", :title => "type your search term here" } %> <button type="submit"> <span class="visually-hidden"> Submit Search |