humanmade / hm-pattern-library

Juniper is the web style guide and pattern library for Human Made projects.
https://humanmade.github.io/hm-pattern-library/
25 stars 9 forks source link

Site search form accessibility #150

Closed rianrietveld closed 6 years ago

rianrietveld commented 6 years ago

The screen reader and keyboard only accessibility of the search form can be improved. Related: https://github.com/humanmade/platform-dev/issues/207

Issues

Solutions I found an accessible example, maybe we build our own version based on this. https://haltersweb.github.io/Accessibility/autocomplete.html

Propose the following output for the "no results found" message:

The focus for the submit button can be solved like https://github.com/humanmade/platform-docs-site/pull/13/commits/f7312f555aafb72f2d7718db8137aeb1e47bc1dc

mattheu commented 6 years ago

This component has actually been removed from the pattern library - and lives in the handbook instead. The accessibility issues are still present so I'll open a ticket there.