From 3e68873b7084feeb93e47ed74801d26b2ee21416 Mon Sep 17 00:00:00 2001 From: nhall Date: Mon, 21 Dec 2015 22:14:11 -0500 Subject: [PATCH] Search component --- components/jade/search-site.jade | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 components/jade/search-site.jade diff --git a/components/jade/search-site.jade b/components/jade/search-site.jade new file mode 100644 index 0000000..5c8c480 --- /dev/null +++ b/components/jade/search-site.jade @@ -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')