There seems to be an increasing use of modal dialog boxes on the web, but when should you use them? Why would you choose to use them instead of inline controls or another page, and when should you completely avoid them?
|
|
My rule of thumb would be to use a modal window when there is a dead end for the functionality. For instance, when you update profile information, set up an account etc. |
|||||||||||||||
|
|
Modal dialogs should only be used when the user is required to make a choice or needs to know something specific before continuing. Warnings about how something that they are choosing to do can potentially cause problems (like deleting something permanently) and things like that. Logging in to access a secured section of the site (or to post a comment on a page) is also okay, as long as you do it correctly. |
|||
|
|
The most general rules I could think of would be:
Edit: Also take a look at facebook, with a few exceptions I think they handle it pretty well. |
|||
|
|
|
I have found that modals are best to use when you are trying to isolate an action by the user. By using a modal you capture the focus of the user and this allows you to remove secondary distractions, such as navigation, utility links, images or other components that could distract from what you want the user to see or experience. As far as when NOT to use a modal you will just have to use your best judgment on that one. I don't think you can apply strict rules to something like that. |
|||
|
|
|
I use a combination of inline editing, soft modals, full modals and floating windows.
I hope this is helpful. |
|||||
|
|
This is a great question but the answers are too subjective. Does anyone have any quantitative evidence for any of these comments? I am planning to use Modals in two ways as a continuation of inline editing and as a configuration or state change in a full Modal (changing your profile settings in your account screen) . We intend to User test a prototype very soon so may have some data to present back! |
|||||
|
|
Some people distinguish between dialog boxes and alert boxes (an alert box typically has only one or two buttons and no other inputs, whereas a dialog has input fields of some sort). And there is a school of thought that says you should never use modal alert boxes (See "Should alert boxes be avoided at any cost?".) Putting a form into a modal dialog can be more responsive than putting it into a separate page, since the dialog box code can be contained entirely within the previous page -- no network traffic. However I have seen many users who are confused by modal dialogs. You'll want to test with end users. Of course. |
||||
|
|