Best Practices & Principles for GUI design

User InterfacePrinciples

User Interface Problem Overview


What is your best practical user-friendly user-interface design or principle?

Please submit those practices that you find actually makes things really useful - no matter what - if it works for your users, share it!


Summary/Collation

Principles

  1. KISS.
  2. Be clear and specific in what an option will achieve: for example, use verbs that indicate the action that will follow on a choice (see: Impl. 1).
  3. Use obvious default actions appropriate to what the user needs/wants to achieve.
  4. Fit the appearance and behavior of the UI to the environment/process/audience: stand-alone application, web-page, portable, scientific analysis, flash-game, professionals/children, ...
  5. Reduce the learning curve of a new user.
  6. Rather than disabling or hiding options, consider giving a helpful message where the user can have alternatives, but only where those alternatives exist. If no alternatives are available, its better to disable the option - which visually then states that the option is not available - do not hide the unavailable options, rather explain in a mouse-over popup why it is disabled.
  7. Stay consistent and conform to practices, and placement of controls, as is implemented in widely-used successful applications.
  8. Lead the expectations of the user and let your program behave according to those expectations.
  9. Stick to the vocabulary and knowledge of the user and do not use programmer/implementation terminology.
  10. Follow basic design principles: contrast (obviousness), repetition (consistency), alignment (appearance), and proximity (grouping).

Implementation

  1. (See answer by paiNie) "Try to use verbs in your dialog boxes."
  2. Allow/implement undo and redo.

References

  1. Windows Vista User Experience Guidelines [http://msdn.microsoft.com/en-us/library/aa511258.aspx]
  2. Dutch websites - "Drempelvrij" guidelines [http://www.drempelvrij.nl/richtlijnen]
  3. Web Content Accessibility Guidelines (WCAG 1.0) [http://www.w3.org/TR/WCAG10/]
  4. Consistence [http://www.amazon.com/Design-Everyday-Things-Donald-Norman/dp/0385267746]
  5. Don't make me Think [http://www.amazon.com/Dont-Make-Me-Think-Usability/dp/0321344758/ref=pdbbssr_1?ie=UTF8&s=books&qid=1221726383&sr=8-1]
  6. Be powerful and simple [http://msdn.microsoft.com/en-us/library/aa511332.aspx]
  7. Gestalt design laws [http://www.squidoo.com/gestaltlaws]

User Interface Solutions


Solution 1 - User Interface

I test my GUI against my grandma.

Solution 2 - User Interface

Try to use verbs in your dialog boxes.

It means use

alt text

instead of

alt text

Solution 3 - User Interface

Follow basic design principles

  • Contrast - Make things that are different look different
  • Repetition - Repeat the same style in a screen and for other screens
  • Alignment - Line screen elements up! Yes, that includes text, images, controls and labels.
  • Proximity - Group related elements together. A set of input fields to enter an address should be grouped together and be distinct from the group of input fields to enter credit card info. This is basic Gestalt Design Laws.

Solution 4 - User Interface

Never ask "Are you sure?". Just allow unlimited, reliable undo/redo.

Solution 5 - User Interface

Try to think about what your user wants to achieve instead of what the requirements are.

The user will enter your system and use it to achieve a goal. When you open up calc you need to make a simple fast calculation 90% of the time so that's why by default it is set to simple mode.

So don't think about what the application must do but think about the user which will be doing it, probably bored, and try to design based on what his intentions are, try to make his life easier.

Solution 6 - User Interface

If you're doing anything for the web, or any front-facing software application for that matter, you really owe it to yourself to read...

Don't make me think - Steve Krug

Solution 7 - User Interface

Breadcrumbs in webapps:
Tell -> The -> User -> Where -> She -> Is in the system

This is pretty hard to do in "dynamic" systems with multiple paths to the same data, but it often helps navigate the system.

Solution 8 - User Interface

I try to adapt to the environment.

When developing for an Windows application, I use the Windows Vista User Experience Guidelines but when I'm developing an web application I use the appropriate guidelines, because I develop Dutch websites I use the "Drempelvrij" guidelines which are based on the Web Content Accessibility Guidelines (WCAG 1.0) by the World Wide Web Consortium (W3C).

The reason I do this is to reduce the learning curve of a new user.

Solution 9 - User Interface

I would recommend to get a good solid understanding of GUI design by reading the book The Design of Everyday Things. Although the main printable is a comment from Joel Spolsky: When the behavior of the application differs to what the user expects to happen then you have a problem with your graphical user interface.

The best example is, when somebody swaps around the OK and Cancel button on some web sites. The user expects the OK button to be on the left, and the Cancel button to be on the right. So in short, when the application behavior differs to what the user expects what to happen then you have a user interface design problem.

Although, the best advice, in no matter what design or design pattern you follow, is to keep the design and conventions consistent throughout the application.

Solution 10 - User Interface

Avoid asking the user to make choices whenever you can (i.e. don't create a fork with a configuration dialog!)

For every option and every message box, ask yourself: can I instead come up with some reasonable default behavior that

  • makes sense?
  • does not get in the user's way?
  • is easy enough to learn that it costs little to the user that I impose this on him?

I can use my Palm handheld as an example: the settings are really minimalistic, and I'm quite happy with that. The basic applications are well designed enough that I can simply use them without feeling the need for tweaking. Ok, there are some things I can't do, and in fact I sort of had to adapt myself to the tool (instead of the opposite), but in the end this really makes my life easier.

This website is another example: you can't configure anything, and yet I find it really nice to use.

Reasonable defaults can be hard to figure out, and simple usability tests can provide a lot of clues to help you with that.

Solution 11 - User Interface

Show the interface to a sample of users. Ask them to perform a typical task. Watch for their mistakes. Listen to their comments. Make changes and repeat.

Solution 12 - User Interface

The Design of Everyday Things - Donald Norman

A canon of design lore and the basis of many HCI courses at universities around the world. You won't design a great GUI in five minutes with a few comments from a web forum, but some principles will get your thinking pointed the right way.

--

MC

Solution 13 - User Interface

When constructing error messages make the error message be the answers to these 3 questions (in that order):

  1. What happened?

  2. Why did it happen?

  3. What can be done about it?

This is from "Human Interface Guidelines: The Apple Desktop Interface" (1987, ISBN 0-201-17753-6), but it can be used for any error message anywhere. There is an updated version for Mac OS X. The Microsoft page User Interface Messages says the same thing: "... in the case of an error message, you should include the issue, the cause, and the user action to correct the problem."

Also include any information that is known by the program, not just some fixed string. E.g. for the "Why did it happen" part of the error message use "Raw spectrum file L:\refDataForMascotParser\TripleEncoding\Q1LCMS190203_01Doub leArg.wiff does not exist" instead of just "File does not exist".

Contrast this with the infamous error message: "An error happend.".

Solution 14 - User Interface

(Stolen from Joel :o) )

Don't disable/remove options - rather give a helpful message when the user click/select it.

Solution 15 - User Interface

As my data structure professor pointed today: Give instructions on how your program works to the average user. We programmers often think we're pretty logical with our programs, but the average user probably won't know what to do.

Solution 16 - User Interface

  1. Use discreet/simple animated features to create seamless transitions from one section the the other. This helps the user to create a mental map of navigation/structure.

  2. Use short (one word if possible) titles on the buttons that describe clearly the essence of the action.

  3. Use semantic zooming where possible (a good example is how zooming works on Google/Bing maps, where more information is visible when you focus on an area).

  4. Create at least two ways to navigate: Vertical and horizontal. Vertical when you navigate between different sections and horizontal when you navigate within the contents of the section or subsection.

  5. Always keep the main options nodes of your structure visible (where the size of the screen and the type of device allows it).

  6. When you go deep into the structure always keep a visible hint (i.e. such as in the form of a path) indicating where you are.

  7. Hide elements when you want the user to focus on data (such as reading an article or viewing a project). - however beware of point #5 and #4.

Solution 17 - User Interface

Be Powerful and Simple

Oh, and hire a designer / learn design skills. :)

Solution 18 - User Interface

With GUIs, standards are kind of platform specific. E.g. While developing GUI in Eclipse this link provides decent guideline.

Solution 19 - User Interface

I've read most of the above and one thing that I'm not seeing mentioned:

If users are meant to use the interface ONCE, showing only what they need to use if possible is great.

If the user interface is going to be used repeatedly by the same user, but maybe not very often, disabling controls is better than hiding them: the user interface changing and hidden features not being obvious (or remembered) by an occasional user is frustrating to the user.

If the user interface is going to be used VERY REGULARLY by the same user (and there is not a lot of turnover in the job i.e. not a lot of new users coming online all the time) disabling controls is absolutely helpful and the user will become accustomed to the reasons why things happen but preventing them from using controls accidentally in improper contexts appreciated and prevents errors.

Just my opinion, but it all goes back to understanding your user profile, not just what a single user session might entail.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionslashmaisView Question on Stackoverflow
Solution 1 - User InterfaceVictorView Answer on Stackoverflow
Solution 2 - User InterfacekzotinView Answer on Stackoverflow
Solution 3 - User InterfaceCraig PickeringView Answer on Stackoverflow
Solution 4 - User InterfaceJörg W MittagView Answer on Stackoverflow
Solution 5 - User InterfaceJorge CórdobaView Answer on Stackoverflow
Solution 6 - User InterfaceAli ParrView Answer on Stackoverflow
Solution 7 - User InterfacekosoantView Answer on Stackoverflow
Solution 8 - User InterfaceDavy LandmanView Answer on Stackoverflow
Solution 9 - User InterfaceChadView Answer on Stackoverflow
Solution 10 - User InterfaceCarl SeleborgView Answer on Stackoverflow
Solution 11 - User InterfaceKramiiView Answer on Stackoverflow
Solution 12 - User InterfaceMichael CardenView Answer on Stackoverflow
Solution 13 - User InterfacePeter MortensenView Answer on Stackoverflow
Solution 14 - User InterfaceslashmaisView Answer on Stackoverflow
Solution 15 - User InterfacemarioBonalesView Answer on Stackoverflow
Solution 16 - User InterfacevasilisView Answer on Stackoverflow
Solution 17 - User InterfaceNidonocuView Answer on Stackoverflow
Solution 18 - User InterfaceHammadView Answer on Stackoverflow
Solution 19 - User InterfaceRyan GermannView Answer on Stackoverflow