qt按钮禁用和激活禁用_为什么试探法只是经验法则:禁用按钮的情况

qt按钮禁用和激活禁用

Most user experience designers will be familiar with Jackob Nielsen’s 10 usability heuristics. They are widely cited and a great set of broad rules of thumb to follow when designing user interfaces.

大多数用户体验设计师将熟悉Jackob Nielsen的10种可用性启发式方法 。 在设计用户界面时,它们被广泛引用,并遵循大量广泛的经验法则。

Heuristic number five is error prevention:

启发式数字五是错误预防:

‘Even better than good error messages is a careful design which prevents a problem from occurring in the first place.’

“比好的错误消息更好的是精心设计,它可以从根本上防止问题的发生。”

Sounds sensible right? Well not always, sometimes it is better to let users make errors and give appropriate feedback. Let’s bring the disabled button on forms to the floor.

听起来很合理吧? 并非总是如此,有时最好让用户犯错误并提供适当的反馈。 让我们将表单上的禁用按钮放到地板上。

We will start by setting the scene: you are designing a form that has several required fields. You indicate this clearly on the form so hopefully most users will notice. You are striving to create a better user experience. Thinking about error prevention you decide to disable the ‘submit’ button until the user has completed the form preventing them from making an error by submitting an incomplete form. All good? Well no.

我们将从设置场景开始:您正在设计一个具有几个必填字段的表单。 您在表格上清楚地指出了这一点,希望大多数用户会注意到。 您正在努力创造更好的用户体验。 考虑到错误预防,您决定禁用“提交”按钮,直到用户填写完该表单以防止他们通过提交不完整的表单而出错为止。 都好? 好吧

禁用按钮是一种反模式 (Disabling buttons is an anti-pattern)

When we disable a button on a form we are often disabling the call-to-action. Yes, that thing on the page we trying to encourage users to click to proceed with their journey.

当我们禁用表单上的按钮时,我们通常会禁用号召性用语。 是的,我们试图鼓励用户单击页面上的该内容以继续他们的旅程。

Worse still when a user clicks on the call-to-action hoping to continue through the process nothing happens. They don’t proceed as expected and there is no feedback or error message. They are stuck and it’s frustrating. It might even make them feel stupid or confused.

更糟糕的是,当用户单击号召性用语以希望继续执行该过程时,什么也没有发生。 它们没有按预期进行,没有反馈或错误消息。 他们被卡住了,这令人沮丧。 这甚至可能使他们感到愚蠢或困惑。

Disabled buttons also look strange and are often hard to read. Most fail to meet color contrast guidelines. Inexperienced users will not necessarily recognise the button as disabled and think ‘why does this look different?’

禁用的按钮看起来也很奇怪,通常很难阅读。 大多数不符合颜色对比准则。 没有经验的用户不一定会将该按钮识别为已禁用,并会想“为什么这看起来有所不同?”

It is not just frustrating, disabled buttons can exclude people with disabilities or those using mobiles. If a user can only see part of the form they may arrive at the end thinking they have filled in all the required fields only to find they are unable to submit the form because of a disabled button. There is no feedback telling them what is wrong.

不仅令人沮丧,禁用的按钮还可以排除残疾人或使用手机的人。 如果用户只能看到表单的一部分,他们可能会以为他们已经填写了所有必填字段而到达最后,只是发现他们由于禁用了按钮而无法提交表单。 没有反馈告诉他们出了什么问题。

是否有禁用按钮的情况? (Is there ever a case for disabling buttons?)

Disabled buttons may have a place in complex web applications. They can be useful to indicate to a user ‘you can’t do this’. But they don’t tell the user why. If it is implicit from the experience why the button is disabled then perhaps they are useful. A more thought-through UI can often remove the need to use disabled buttons.

禁用的按钮可能在复杂的Web应用程序中占有一席之地。 它们可能有助于向用户指示“您不能这样做”。 但是他们没有告诉用户原因。 如果从经验中隐含了为什么禁用按钮,那么也许它们很有用。 经过深思熟虑的UI通常可以消除使用禁用按钮的需要。

However, they shouldn’t be used to prevent users from making errors in forms. They often don’t prevent errors. To help users you should provide well written and appropriate feedback. But, you should ask: what value am I adding by having a disabled button vs not showing anything? The same goes for any disabled interaction element.

但是,不应使用它们来防止用户在表单中出错。 他们通常不会防止错误。 为了帮助用户,您应该提供书面和适当的反馈。 但是,您应该问:通过禁用按钮而不显示任何内容,我可以增加什么价值? 任何禁用的交互元素也是如此。

In short, disabled buttons have no place as the call to action on forms. Provide helpful error messages instead. It is also important not to blindly follow rules or patterns laid down by others. Jakob Neilson’s key point is that careful design prevents users from making errors. Using disabled buttons is not careful or useful most of the time.

简而言之,禁用的按钮在表单上没有作为号召性用语的位置。 而是提供有用的错误消息。 同样重要的是,不要盲目遵循别人制定的规则或模式。 Jakob Neilson的重点是精心设计可以防止用户犯错误。 在大多数情况下,使用禁用的按钮并不小心或无用。

更多阅读 (More reading)

https://axesslab.com/disabled-buttons-suck/

https://axesslab.com/disabled-buttons-suck/

https://uxdesign.cc/why-you-shouldnt-include-disabled-interaction-elements-in-your-design-system-76a2d4307faf

https://uxdesign.cc/why-you-shouldnt-include-disabled-interaction-elements-in-your-design-system-76a2d4307faf

翻译自: https://uxdesign.cc/why-heuristics-are-only-rules-of-thumb-the-case-of-the-disabled-button-4824958627e9

qt按钮禁用和激活禁用

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/274308.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Teach Yourself Java 2 in 21 Days 书中样例代码实践

找了好几书JAVA的书,看了几章,都看不下去。 我觉得适合《Teach Yourself Java 2 in 21 Days》(Rogers Cadenhead Laura Lemay)还是适合我的。 孙卫琴那本,我感觉就罗嗦多了没到我点子上。 接口,抽象类这些内…

好奇心机制_好奇心问题

好奇心机制For my past two jobs I’ve posted a question every week in my team chat and learned so much about my co-workers. Give it a try! :D对于过去的两个工作,我每周都会在团队聊天中发布一个问题,并且对我的同事了解很多。 试试看&#xff…

20130328java基础学习笔记-循环结构for以及for,while循环区别

1.循环结构:for讲解class ForDemo{ public static void main(String[] args) { /* for(初始化表达式;循环条件表达式;循环后的操作表达式) { 执行语句;(循环体) } */ for(int x 1; x<3; x) { …

小程序设计避免犯什么错_新设计师犯下的5种印刷错误以及如何避免

小程序设计避免犯什么错Over the last year and a half, I’ve had the opportunity to teach the basics of typography to undergraduate graphic design students. During this time, I’ve noticed some common mistakes that my students make when first learning how to…

移动设备web文字单位_移动设备如何塑造现代Web设计

移动设备web文字单位I was working with a nonprofit earlier this month on redesigning their website and during the first meeting, I proposed a very standard idea: the home page needed to tell a story and guide the intended user through the intended process (…

hp-ux修改时区方法_UX研究人员可以倡导人类的6种方法

hp-ux修改时区方法In the UX world, we often hear terms like “user-centered,” “human-centered,” and “customer-centered.” We believe that in order to be innovative, we need to center experiences that are authentic, intuitive, and practical.在UX世界中&am…

2013年3月百度之星A题

伪随机数生成器 题目描述 baidu熊最近在学习随机算法&#xff0c;于是他决定自己做一个随机数生成器。 这个随机数生成器通过三个参数c, q, n作为种子, 然后它就可以通过以下方式生成伪随机数序列&#xff1a; m0 c, mi1 (q2mi 1) mod 2n, for all i > 0. 因为一些奇怪的…

为什么张扬的人别人很讨厌_为什么每个人总是讨厌重新设计,即使他们很好

为什么张扬的人别人很讨厌重点 (Top highlight)微处理 (Microprocessing) In Microprocessing, columnist Angela Lashbrook aims to improve your relationship with technology every week. Microprocessing goes deep on the little things that define your online life to…

转载--C语言:浮点数在内存中的表示

单精度浮点数&#xff1a; 1位符号位 8位阶码位 23位尾数 双精度浮点数&#xff1a; 1位符号位 8位阶码位 52位尾数 实数在内存中以规范化的浮点数存放&#xff0c;包括数符、阶码、尾数。数的精度取决于尾数的位数。比如32位机上float型为23位 double型为52位。…

学习ui设计_如果您想学习UI设计,该怎么办

学习ui设计There is a question that is always asked when we want to learn something new.当我们想学习新东西时&#xff0c;总会问一个问题。 Where to start?从哪儿开始&#xff1f; This is also being my question when I want to learn UI design. In this article, …

Christmas

html5 game - Christmasloading......转载于:https://www.cnblogs.com/yorhom/archive/2013/04/05/3001116.html

30个WordPress Retina(iPad)自适应主题

原文地址&#xff1a;http://www.goodfav.com/zh/retina-ready-wordpress-themes-3556.html WordPress Retina定制主题进行了优化&#xff0c;支持Retina屏幕上的高品质和清晰的图像。如果你关心这个话题&#xff0c;又不知道这究竟是什么&#xff0c;那么请你继续阅读。 wordp…

Thinking in java第一章对象导论

这一章&#xff0c;做笔记感觉不是很好做。每个人又每个人对面向对象的理解。这里说一下书里的关键字&#xff0c;穿插一下自己的思想 面向对象的编程语言里面很流行的一句话&#xff0c;一切都是对象。面向对象的核心就是抽象&#xff0c;抽象的能力有大有小&#xff0c;是决定…

Android SlidingMenu插件的使用

1、在github上下载了源码后 不知道如何使用&#xff0c;在折腾了一个晚上后终于弄好了 下载地址 https://github.com/jfeinstein10/SlidingMenu 下载完后&#xff0c;解压&#xff0c;然后先import 其中的library &#xff0c;然后把项目名改为SlidingMenu 2、然后再到http…

css 字体字体图标_CSS基础知识:了解字体

css 字体字体图标In this tutorial, we’ll be learning about working with fonts in CSS!在本教程中&#xff0c;我们将学习有关在CSS中使用字体的知识&#xff01; The font property is a shorthand property which can combine a number of sub-properties in a single d…

openstack quantum搭建过程中一些有用的链接

OpenvSwitch的概念和流程&#xff1a; http://blog.wachang.net/2013/03/openvswitch-fullbook-2-workflow-1/ OpenvSwitch的vlan模式&#xff1a; http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/ OpenvSwitch问答&#xff1a; http://openvsw…

mysql下载哪一代版本好_潮一代更好的设计

mysql下载哪一代版本好I think we can all agree that quarantined life has been strange. And while most of the day is comprised of the monotony of domestic life, I’ve been surprised at how much of my time is dominated by technology.我认为我们都可以同意隔离的…

预约清单ui设计_持续交付质量设计所需的UI清单

预约清单ui设计重点 (Top highlight)Over the past few months, my design team at StreetEasy has started experimenting in adding a “design buddy” check-in to the final stages of the design process.在过去的几个月中&#xff0c;我在StreetEasy的设计团队已开始尝试…

黑书上的DP例题

pagesectionnotitlesubmit1131.5.1例题1括号序列POJ11411161.5.1例题2棋盘分割POJ11911171.5.1例题3决斗Sicily18221171.5.1例题4“舞蹈家”怀特先生ACM-ICPC Live Archive1191.5.1例题5积木游戏http://202.120.80.191/problem.php?problemid12441231.5.2例题1方块消除http://…

静态创意和动态创意_我在22岁时学到的关于创意指导的知识

静态创意和动态创意During my last semester at college, I took a course titled “Collaborative Workshop”. The entire course focused on how to best collaborate within a team setting. We were placed into groups of 4 or 5. These were our “creative director” …