Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are modal dialog boxes evil? [closed]

Tags:

modal-dialog

Re the recent question at when are modal dialogs truly necessary?. WHY are modal dialog boxes evil? Is it because people don't read them anyway? Because they are often implemented so poorly? Something else?

like image 307
thursdaysgeek Avatar asked Dec 12 '08 00:12

thursdaysgeek


People also ask

Why is modal dialog bad?

Modal windows are horrible, they interrupt the user's workflow, demand attention and block important information on the screen. The belief is that when users see a modal, they get scared and completely forget what they've been doing.

Are modals bad for accessibility?

The way modals are used and designed can cause usability and user experience challenges. However, the most perfect visual affordance can still fall down when it comes to web accessibility, if the modal is not built correctly.

Is modal dialog is blocking window?

A modal window creates a mode that disables the main window but keeps it visible, with the modal window as a child window in front of it. Users must interact with the modal window before they can return to the parent application. This avoids interrupting the workflow on the main window.

What are the things that you must avoid in creating modal dialog box?

The modal dialog is not navigable in URL nature. The modal window should have a Cancel/Close button. Modal dialogs maintain focus until dismissed. Don't put too much contents into modal dialog.


1 Answers

About half of the answers so far are addressing the flaws of confirmation dialogs, not of modal dialogs. While the vast majority of confirmation dialogs are modal, this does not mean that the two terms are synonymous.

A modal dialog is one which puts the program into a specific mode and does not allow you to do anything which doesn't correspond to that mode while it is open. In the most common implementation, this means you can't access any other windows.

This is evil.

Consider an address book application. Suppose you have an existing person in the address book and you wish to add their roommate.

  • If the "add person" dialog is non-modal, you can flip back and forth between the old record and the new one copying and pasting your data.
  • If the "add person" dialog is modal, you can't do anything with the old record while the add dialog is open. You can select something to copy before selecting "add", but just one thing. Everything else has to be manually retyped.

On rare occasions, you run into something which truly must be done in one piece without allowing the user to diverge from that task until it is complete. Modal dialogs are appropriate for such cases. But these cases are very rare! Which is basically the point of the other thread referenced by this question.

like image 72
Dave Sherohman Avatar answered Oct 22 '22 23:10

Dave Sherohman