WebAIM - Web Accessibility In Mind

E-mail List Archives

making search input field accessible without a <label>

for

From: Angela French
Date: Aug 24, 2015 2:49PM


I am trying to validate to WCAG 2.0 AA. I'm getting the error that I am missing an associated label on my search field.

I have tried aria-label="search" and title="search" but neither one kept the error from being thrown. Are these not true solutions? Or must I have a <label> tag?

Thanks

Angela French
Internet Specialist
Washington State Board for Community and Technical Colleges
360-704-4316
<EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
www.checkoutacollege.com<;http://www.checkoutacollege.com/>;
www.sbctc.edu<;http://www.sbctc.edu/>;