Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Message Popups

Displaying warnings, error messages, and important information.

Image RemovedPopup.pngImage Added

Dialogs

Collecting information from the user, or allowing them to make decisions.

image-20240118-113426.pngImage Removedimage-20240118-113426.pngImage Added

Usage & Behavior

General guidelines

...

Structure

A popup window consists of:

  • A a colored header, including:

    • 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 vertical centre of the popup should be aligned to 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.

...

  • Popup header labels should describe the object they are referring to, 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 an Interaction, Article, or Shift.

      • Object 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 be contain the name of the tool or a message title 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.

Best practices

Use

  • 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.to display unintrusive messages. In this case, consider using Toasts

  • where a popup relates to 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

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

...

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 focus colorindicator.

  • The Warning pop-up Warning (orange) popups will use a black focus colorindicator.

Image RemovedImage RemovedPopup.pngImage AddedImage Added

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)

Review (example of selecting 'all' extensions) 1920.pngImage AddedReview (example of selecting 'all' extensions) 1366.pngImage AddedReview (example of selecting 'all' extensions) 960.pngImage Added
Historical changes 8 1920.pngImage AddedHistorical changes 8 1366.pngImage AddedHistorical changes 8 960.pngImage Added

Design

See Message Popups and Dialogs.

...