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.pswp.cn/news/274308.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/274308.shtml
英文地址,請注明出處:http://en.pswp.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” …