Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add label to form control in search bar #84

Open
kburk1997 opened this issue Sep 18, 2018 · 2 comments
Open

Add label to form control in search bar #84

kburk1997 opened this issue Sep 18, 2018 · 2 comments

Comments

@kburk1997
Copy link
Member

kburk1997 commented Sep 18, 2018

In the search box, the <input> does not have a corresponding label.
From WAVE:

An (except types of image, submit, reset, button, or hidden), , or <textarea> does not have a properly associated label text. A properly associated label is: a element with a for attribute value that is equal to the id of a unique form control a element that surrounds the form control, does not surround any other form controls, and does not reference another element with its for attribute a non-empty title attribute, or a non-empty aria-labelledby attribute.

@kburk1997
Copy link
Member Author

Sorry about the ugly blockquote, github markdown does not want to work with me today

@sajeetharan
Copy link

@kburk1997 you mean add a name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants