可用性 +显示错误
我正在与一位朋友讨论是否在启动时显示实体错误(这是在 Silverlight 中,但可以适用于所有开发技术)。
我制作了输入屏幕,以便必填字段立即标记为红色,以便用户知道必填字段是什么。他说这不是“最好的方法”,并且由于“可用性研究”,只有当用户输入一个值然后再次删除它时才应该显示错误(然后应该显示错误)。
我认为这只是一个借口,不必实现额外的代码来实际显示错误(因为您必须手动验证实体以检索错误)。
你怎么认为?如果有人真的可以发布支持一侧或另一侧的可用性研究,那也将非常酷。
I am having a discussion with a friend over whether to show or not show entity errors at startup (this is in Silverlight, but can apply to all development techniques).
I made my entry screens so the required fields are immediately marked red so the user knows what the required fields are. He says it's not "the best way" and because of "usability studies", the errors should be shown only when the user enters a value, then removes it again (then the errors should show up).
I think it's just an excuse not having to implement additional code to actually show the errors (because you manually have to validate the entity to retrieve the errors).
What do you think? It would also be very cool if someone could actually post usability studies that back-up one side or the other.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,我们需要区分必填字段的指示(通常通过在字段旁边放置星号(*)或在字段标签下放置一个小标记“必填”来完成)和突出显示无效字段时的实际验证错误提供清楚的解释哪里出了问题。必填字段的指示应从一开始就显示出来,以便用户在打开表单时可以立即看到需要输入哪些信息。这种指示比验证错误的干扰要小得多。
但验证错误时情况有所不同。在用户表明她已完成数据输入(通过退出字段或按提交按钮)之前,显示用户尚未输入内容是没有意义的。否则,当用户还没有机会输入正确的信息时,看到这些错误会很烦人。
First of all, we need to distinguish between indication of a required field (usually done by putting asterisk (*) next to the field or a little marker "Required" under the field label) and actual validation errors when you highlight the invalid field and provide clear explanation what is wrong. The indication of required fields should be shown from the beginning, so the user, when she opens up the form, can immediately see what information she is required to enter. Such indication is much less intrusive than validation errors.
But situation is different with validation errors. There is no point in showing that the user hasn't entered something until she indicated that she is done with the data entry (by stepping out of the field or by pressing the submit button). Otherwise it is annoying for the user to see those errors when they haven't had a chance to enter the correct information yet.