-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Block: Search #1800
Comments
I hope all those native "widgets" in editor will be hidden on default. Or easy hidden with code. With them I cannot say anymore to beginners Users, just go ahead in backend, you cannot ruin layout, design, or website, zero chance. |
I believe it should be up to the theme in this case, and the option could be added by extending this particular block should the theme author choose to do so. |
Ideally, placeholders should not be used as replacement for labels, see https://core.trac.wordpress.org/ticket/40331 especially in complex forms with several fields. We've discussed this issue a few times in the accessibility team and agreed it could be acceptable to use a placeholder as in the "Neutral" mockup above for single form fields with a very specific task to accomplish. Even in this case, the search field will need a visually hidden label because the placeholder is going to not contribute any longer to the computation of the accessible name. |
Thanks for the feedback — I'll work on an update. |
I would say the search icon should be down to the theme, I am not sure about it as a user decision. My vote would be to let themes decide that. |
As the project moves towards merge proposal, we are moving issues that aren't needed for that to projects. This doesn't mean they won't get done, they totally can and that's why we're moving to projects. This allows us to focus on the issues that have to happen to Gutenberg. I am closing this but it will live in projects. |
Copying @westonruter's comment from #4501 (review):
|
The top search on wp.com is for "", and the second top is for "search". This occurs because users often click the search button rather than type something into the box first. There is an unmerged patch for this in https://core.trac.wordpress.org/ticket/34886 that we should fix as a part of this. |
Attributes
States
Selected:
Neutral:
Question:
The text was updated successfully, but these errors were encountered: