我想知道网页中的搜索框附近是否可以不添加提交按钮(例如“确定”、“转到”或“搜索”)。
我知道按回车键要快得多并且它将执行搜索。
但是,这是普通非技术精通用户接受的约定还是仅适用于技术社区?
例如,stackoverflow 上的搜索框没有提交按钮,但我没有我认为有人在抱怨(我当然没有)。
另一方面,有人建议以谷歌为例:如果按钮被移除,人们会注意到吗?
我刚刚开始阅读别让我思考作者:Steve Krug,他提到每个搜索框都应该有一些内容告诉我可以单击它来启动搜索。
你的想法?
I was wondering if it was ever ok not to have a submit button (Ok, Go or Search for example) near a search box in Web pages.
I know that hitting enter is much faster and that it will perform the search.
However, is it an accepted convention for the average non tech savvy user or only for the tech community?
For example, the search box here at stackoverflow doesn't have a submit button, but I don't think anyone is complaining (and I sure don't).
On the other hand, someone suggested using Google as an example: would people notice if the buttons were removed?
I just started reading Don't Make Me Think by Steve Krug and he mentions that every search box should have something that tells me I can click on it to launch the search.
Your thoughts?
发布评论
评论(9)
我认为这取决于你的目标市场。 如果您是 StackOverflow,那么认为他们知道如何使用浏览器(使用浏览器上的后退按钮进行导航是一种类似的设计约定)并按 Enter = 提交进行搜索并不难。
然而,如果你的目标市场是不经常使用浏览器/计算机的机械师(无意冒犯机械师),那么看看谷歌是如何做到这一点的(他们的目标范围最广泛)——他们有一个提交按钮。
你可以考虑一个中间立场,它有一个像 StackOverflow 这样的水印,告诉用户“单击此处,输入搜索值并按 Enter 进行搜索” - 或者类似的东西(希望更短),你实际上是在为用户服务各个级别的。
I think it depends on your target market. If you are StackOverflow it's not too hard too think they know how to use a browser (using a back button on a browser to navigate is a similair design convention) and pressing Enter = submit for search.
However if your target market is say mechanics (no offence to mechanics) that don't use a browser/computer often then look at how Google does it (and they target the broadest scope) - they have a button to submit.
There is a middle ground you could look at, which is have a water mark like StackOverflow which tells users "Click here, type in search values and press enter to search" - or something like that (hopefully shorter) where you actually catering for users of all levels.
是否需要按钮取决于观众。 以下是需要考虑的问题:
因此,本质上,您需要了解您的受众并确定边缘情况的所在以及它们的重要性。 以 SO 为例,它是针对技术用户的,因此可能不需要明确的按钮。 然而,对于像谷歌这样的网站,您需要使用每个可能的平台来访问每个用户,所以必须有一个清晰的明确搜索按钮。
Whether or not a button is required depends on the audience. Here are issues to consider:
So essentially you need to know your audiences and determine where the edge cases lie and how critical they are. Using SO as an example, it is directed at technical users so an explicit button probably isn't required. However for a site like google where you need to be accessible to every single user using every possible platform, a clear explicit search button is a must.
“别让我思考”——所以给我一个按钮。
总会有人第一次使用该应用程序; 也不让他们思考。 而且你的屏幕不应该太挑剔,以至于无法舒适地安装按钮 - 这将表明一系列不同的问题。
"Don't Make Me Think" - so gimme a button.
There will always be someone using the application for the first time; don't make them think either. And your screen shouldn't be so fussy that it is impossible to fit the button in comfortably - that would indicate a different set of problems.
我认为对于非技术人员来说,需要某种提交按钮。 想想那些不怎么使用电脑的人。 他们经常单击所需的所有按钮,而不是按 Enter 键,因为他们没有意识到 Enter 可以做同样的事情。 我的意见...如果它不是只适合技术人员,那么它应该尽可能简单。
I think for a non-tech person some sort of submit button is needed. Think about people who don't use computers very much. They often click all of the buttons needed instead of hitting enter because they don't realize enter does the same thing. My opinion...if it isn't for tech guys only then it should be as simple as possible.
这取决于你的观众。 史蒂夫的听众是所有人。 其中大部分距离 IT 很远,您需要望远镜才能看到它们。 如果您的听觉是单个用户,您可能会跳过所有线索:按钮(带或不带名称)、盒内标签。
对于我自己的登录窗口,我留下了两个字段:没有标签,没有按钮,没有 javascript 来告诉你哪个是哪个。 但这不是一个公共项目。
It depends on your audience. Steve's audience is everybody. Majority of which are so far from IT you'd need a telescope to see them. If your auditory is a single user, you might skip all clues: button (with or w/o names), in-box label.
For my own login window I leave two fields: no labels, no buttons, no javascript to tell you which one is which. But that's not a public project.
不久前,《Smashing》杂志上有一篇文章谈到了这一点。
有一些替代方案,例如镜子或其他图标,但基本上总是有一个按钮或代表它的东西。
A while ago there was an article on Smashing Magazine about this.
There were some alternatives like a looking glass or another icon, but basically there is always a button, or something which represents it.
拥有按钮可以更清楚地表明文本字段是搜索字段。 仅让文本字段本身在其内容中指示这一点是不够的。
Having a button makes it clearer that the text field is a search field. Merely having the text field itself indicate this in its contents is unsufficient.
虽然这个问题已经问了很多年了,但我觉得需要一个更新的答案,因为它仍然受到很多点击。
许多人已经提出了这样的观点:不懂技术的用户没有意识到按 Enter 来提交某项的功能,无论是搜索查询还是表单。
想到使用我们产品的人们的多样性真是太好了,因此我会将其扩展到患有永久性、暂时性或情境性残疾的人们。 这样我们就只剩下我们每一个人了。
考虑到可访问性的设计只有与可用性齐头并进才能使界面更易于使用。
据说,使用提交按钮作为提交表单的额外方式不会损害体验,并且可以满足许多不同情况的需求,例如使用语音识别并可以说“按搜索按钮”的人或屏幕阅读器用户谁听并清楚地理解按钮标签的功能
是的,根据 WCAG(网页内容可访问性指南),但它与其中许多指南相关,例如
Although it has been so many years since this question has been made, I feel there needs to be an updated answer to it since it' still getting many hits.
Many people have already raised the point of non tech-savy users not realising the functionality of pressing enter in order to submit sth whether it's a search query or a form.
It is great to think of the diversity of the people using our products and therefore I would expand this to people wit disabilites whether permanent, temporary or situational ones. That leaves us with every single one of us.
Designing with accessibility in mind can only make interfaces easier to use if it comes hand in hand with usability.
Have been said that having a submit button as an extra way of submitting a form doesn't harm the experience and accommodates the needs of many different cases eg, people who use speech recognition and can say "press search button" or a screen reader user who listens and understands clearly the functionality according to the button label
And yes, it may not be a mandatory feature according to WCAG (web content accessibility guidelines) but it is connected to many of them e.g.
为什么你应该有一个按钮:
输入,这样你就少留下一些
精明的人在寒冷中。
如果(必须满足两个条件),您可能没有按钮:
一般来说,我认为按 Enter 是提交的快捷方式,而不是主要手段。
Why you should have a button:
enter, so you are leaving some less
savvy people out in the cold.
You may not have a button if (both conditions must be satisfied):
Generally I would think that hitting enter is a shortcut to submit rather than the primary means.