CDRH / orchid

Rails Engine for site integration with CDRH API
MIT License
3 stars 0 forks source link

Add a label to /search text input #291

Open erinchambers opened 11 months ago

erinchambers commented 11 months ago

Per WCAG 2.0 form inputs should be associated with a label element (techniques here)

I've been adding this to individual sites: <label for="q">Search by:</label> ...but it should probably be in Orchid itself. If we want to visually hide it on Bootstrap sites there's an .sr-only class.