Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Update search.html #23

Merged
merged 4 commits into from Feb 24, 2016
Merged

Update search.html #23

merged 4 commits into from Feb 24, 2016

Conversation

andrewmaier
Copy link
Contributor

Add text to the label element for screen readers. Also removing the extraneous div surrounding the form.

See: http://www.456bereastreet.com/archive/201204/the_html5_placeholder_attribute_is_not_a_substitute_for_the_label_element/

cc @mbland

Add text to the label element for screen readers.
@mbland
Copy link
Contributor

mbland commented Feb 24, 2016

The search functionality still works, but the style is now off, as evidenced by building 18F/guides-template with a gem 'jekyll_pages_api_search', path: '../jekyll_pages_api_search' entry. Can you tweak the styles in lib/jekyll_pages_api_search/sass/jekyll_pages_api_search.scss and add them to this PR?

search-style-00

@andrewmaier
Copy link
Contributor Author

@mbland Ready!

image

@mbland
Copy link
Contributor

mbland commented Feb 24, 2016

Pushed a fix for the test failure, and checked the Guides Template and Handbook with the update. The only thing that doesn't look quite right is the Handbook home page itself, but I figure you know how to fix it on that end. Merging.

handbook-00

mbland added a commit that referenced this pull request Feb 24, 2016
@mbland mbland merged commit be315c8 into master Feb 24, 2016
@mbland mbland deleted the andrewmaier-patch-1 branch February 24, 2016 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants