...
Description
A popup is a small modal window which appears over the primary screen, designed to display important information messages or collect information from the user.
Popups appear as a result of a user action, such as clicking a button, a link, or a menu action.
Popups must be dismissed by the user before returning to the primary screen.
...
Types
Type | Usage | Example |
---|---|---|
Displaying warnings, error messages, and important information. | ||
Collecting information from the user, or allowing them to make decisions. |
Usage & Behavior
General guidelines
A popup window usually appears as a result of a user clicking a button, an icon, or a link.
Structure
A popup window consists of:
A a colored header, including:
The ID, name or metadata for the object that the dialog relates to.If needed, the object type can be added for clarification, in this format: [Object type]: [Object Name] (e.g. Interaction: 07/28/2023 04:49:25 AM).
When the object metadata is comprised of several fields, a divider will be displayed between each field. (e.g. Request: Break - 08:00 AM | 27/01/2023).
For “Add new” dialogs, the name of the UI component (e.g. table/list/page) that the object is added to will be displayed (e.g. Notes).
For dialogs which don’t relate to a particular object, no text will be displayed in the header (e.g. a calculator popup).
a a label (see Content below).
a close button (unless otherwise specified).
a help button (optional).
A a content area, which contains:
contains a title, describing the action that will be performed. may contain (Optional for Dialog popups only, where space is limited).
the main content including any text, inputs and controls.
ButtonsDialog buttons at the bottom of the popup, including:
a primary action button.
a secondary action button, if relevant.and other action buttons , if (where relevant).
The popup appears Popups appear over a semi-transparent black background with an opacity of 40%.
Placement and Positioning
The popup is centered horizontally Popups are horizontally and vertically centered on the screen.
The popup appears at 2/3 height of the screen.The user will be able to move the popup around the screen.
The user cannot change the width or height of a popup window.
Content
Message headers will Popup header labels should describe the object they are referring to (for example: Shifts). In some cases they may also contain the actual names of the entities (for example: Car Insurance evaluation form).Dialog headers may describe the object they are referring to, or display action names (for example: Save as…), and may including the following information:
Object name - a specific label for the individual item the popup relates to, e.g. Agent Name, Article Title, or Timestamp.
Object type - the class of item, for example Interaction, Article, or Shift.
The object type should be included for all Add New popups.
When object name and type are both used, it should be in the format [Object type]: [Object name], e.g. Interaction: 07/28/2023 04:49:25 AM.
Additional object metadata - such as timestamps, user type etc. Each additional piece of metadata should be separated using a divider, e.g. Interaction: Agent name | 07/28/2023 04:49:25 AM | Agent role.
Where a popup does not relate to an object, its header label should contain the name of the tool or message instead, e.g. Calculator.
If the header text exceeds the container’s available width it will be truncate , showing with an ellipsis (…). In this case, hovering over the The full header will open a tooltip showing the full header textbe shown in a Tooltip on hover.
In rare cases, button labels may change as a result of a user action.
Interaction
The primary screen behind the popup is not interactive while a popup is open.
The popup can be closed by either:
clicking the close (X) button,
clicking the primary or secondary action buttonsan action button, or
pressing the Esc key.
Clicking outside of the popup will not close it.
For interactions within dialog boxes see DialogsDialog popups may contain additional interactive elements.
Validations and errors
Message popups do not require special validations.
For information about dialogs validations, see Dialogs.
Transitions
The popup window and the semi-transparent background will appear and disappear with a fade effect.The popup window itself will appear and disappear with a fade effect.
...
to display important information. Remember that popups can be intrusive - only use them when necessary.
Do not use
to display a large amount of content. In this case, link to another page or, in case of a dialog, consider using a Form.
where a popup relates to display unintrusive messages. In this case, consider using Toasts.a specific trigger point on the screen → use a Popover instead.
to display non-intrusive messages which don’t prevent the user from interacting with the rest of the page → use a Toast instead.
General
Keep the text short and informative.
Avoid opening a popup from another popup.
Only one popup may be open at any one time.
Accessibility compliance
...
The tab index flow will follow the order displayed below. Shift + Tab will follow the reverse order.
...
In case Where there are more than 2 two dialog buttons at the bottom of the popup, see example below:
...
the focus order will be from right to left.
...
If the content is not focusable, 1st the first item to get focus will be the Enter button.
The same order logic order as above should apply even if any none of the other additional buttons don’t appear.
Focus visual style on pop-up headers will have a different indication than The focus style for elements within the header will be different to other LUX components due to the background fill color:.
Help , Informative(grey), Information (blue), and Error (red) popups will use a White color F/ocusThe warning pop-up will use a Black color Focuswhite focus indicator.
Warning (orange) popups will use a black focus indicator.
Responsive design
Verint products should support all devices down to the common tablet size (960px width). For general guidelines, see Fundamentals - Responsive design.
Popups should always remain horizontally and vertically centred, regardless of the screen dimensions.
On large screens popups should remain at their default size.
The left and right internal padding for all popups should reduce to 24px at the same 900px breakpoint.
Where the screen dimensions are smaller than the popup’s height or width, the popup size should be adjusted. A minimum margin of 24px should persist around all four sides of the popup.
When the popup size is reduced and the full content cannot be displayed:
the header text will be truncated with an ellipsis. The full header will be shown in a tooltip on hover.
the elements within the main content area will respond, following their own responsive guidelines. A vertical scrollbar may be added where necessary.
Examples at different screen sizes
Wide (1920px) | Standard (1366px) | Narrow (960px) |
---|---|---|
Design
See Message Popups and Dialogs.
...