Lead: Liav Nadler Status colour Yellow title ongoing
Table of Contents |
---|
Description
- A popup is a window that forces the user to interact with it before they can go back to using the parent application.
- A popup window
...
- contains of these elements:
- A colored header, including a title and a closing button
- A content area, which may contain text, inputs and controls
- A primary action button
- A secondary action button, if relevant
Types
Type | Usage | For more information |
---|---|---|
Popup messages | Display warnings, error messages and important information | See Popup Messages |
Dialogs | Collect information from users or allowing them to make decisions | See Dialogs |
Usage & Behaviour
General guidelines
- A popup window appears on users' action, usually clicking a button, icon or link
- The popup appears over a semi-transparent background
- The popup is centered horizontally and vertically on the screen
- The user cannot resize the width or height of a popup window
- The user cannot move the popup across the screen
- The popup can be dismissed by either clicking the X button or by clicking the primary or secondary action buttonThe semi-transparent background appears and disappears with a fade effect (TBD)
- The popup window itself appears and disappears with a slide down / slide up effect (TBD)
General guidelines
<<describes the component, use sub-section when they are relevant to the components>>
Expand | ||
---|---|---|
| ||
<<use heading 3>>
|
Interaction
<<for example, how to change a value – type, arrows, use slider>>
<<use Click target to describe the interaction>>
Validations and errors
<<used for specific components e.g. slider>>
Best practices
...
Interaction
- The popup can be dismissed by either clicking the X button or by clicking the primary or secondary action button
- For interaction within dialog windows see Dialogs
Validations and errors
- Popup messages does not involve special validations. For validations and errors within dialog windows see Dialogs
Best practices
- A popup window should carry a limited amount of information. If the content you wish to display is extensive consider using other patterns
Accessibility compliance
<<In general each component should be A11y complied, please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3>>
...