Skip to content

Commit

Permalink
Search component
Browse files Browse the repository at this point in the history
  • Loading branch information
nhall committed Dec 22, 2015
1 parent ba94eb1 commit 3e68873
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/jade/search-site.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
Validator will incorrectly throw an error when a role of search is applied
to a form element. In the future thus should be fixed:
https://github.com/validator/validator/issues/193
form.site_search(method='get', action='#', role='search')
fieldset.site_search_fieldset
label.visually_hidden.site_search_label(for='site_search_input') Search this site for:
input#site_search_input.site_search_input(name='site_search_input', type='text', value='', placeholder='Search')
button(aria-label='Query search')

0 comments on commit 3e68873

Please sign in to comment.