Modal View
- Contributors
A modal view is a child window to a main window. Modal views are used to draw a user's attention to an issue or suggestion and will disable interaction between the user and main window until the modal view is dismissed.
Typical Appearance
Generally speaking, a modal view will appear as a dialogue box in the center of a window or application and prompt the user with a choice, requiring the selection of a decision through a button or an exit action.
Typical Behavior
Modal views typically prompt the user to perform an action before allowing the user to continue interacting with said window or application.
Modal views will usually be prompted when a window or application requires the user’s attention before continuing, such as when a user is able to update their system or if the window chooses to warn the user about committing an action. Modal views are also used by websites to inform the user about logins, advertisements, updates to the site, etc.
Component in Action
Priority Metrics
Events
State Diagram
The typical flow of a modal window appearing on a user’s screen is as follows:
- A user will perform an action that prompts the modal window’s popup.
- The modal window will ask for user input.
- If the user is able and decides to, the user may close the view.
- Else the user may perform the task asked by the window and thereby closing the window by either pressing the enter key or a submit button provided by the modal.
- The user is then returned to the main, parent, window.
Variants
Platform Specifics
iOS
The modal view on the Iphone is a small white box that appears in the center of the screen. Any clickable items are in blue text to highlight that they are interactable. There is very little text to keep the modal view compact and there are very few clickable items to make the modal view easy to interpret and interact with. The background behind the modal view is grayed out to signify that the modal view must be interacted with. Modal views on the Iphone can also be interacted with using the thumbprint technology.
macOS Sierra
The typical modal view that appears on Mac OS X is a light gray text box providing the user with an option, such as to update or to sign in. A modal view appears on the screen to receive information from the user. The view will provide a blue button, labeled with the action the modal will perform if pressed by the user. The modal view will also typically provide a light gray cancel button for the user to press if the user doesn’t wish the modal view to perform the action the modal can execute.