Chlorophyll
Styles
The last version of Internet Explorer, version 11, was released on October 17, 2013. This is a very long time ago when taking into account the rapid development of web technologies. These days it is often difficult and time consuming to get modern technologies to work well in this old browser. More and more frameworks are dropping support, and even Microsoft themselves has announced that they will fully drop support for IE in their own services in 2021.
Consequently, we have decided to not include support for IE in the Design Library website.
Luckily, there are modern options in active development. Please use Firefox, Edge or Chrome instead.
Use a dialogue when confirmation is needed or when to alert the user to something.
Styles
Javascript
Javascript
Dialogues contain a headline, text and UI controls. They retain focus an required action has been taken. Use dialogues sparingly because they are interruptive to the user.
Use a dialogue when confirmation is needed. For example when deleting an account or removing a an item that is needed for something else not visible in this view.
They may also be used as a guide when an error has occurred that has a known way of handling the problem, for example when logging in.
If the need is to make a form or ask for more things, consider using centered modal instead
Can not be dismissed by clicking outside - the user is "forced" to take action. The content behind the overlay is locked and can not be scrolled.
The action of the primary button should confirm the user action that triggered the dialogue. Even if we suspect that the user do not understand that. For example, when a user is choosing an action that will delete an account and we want to verify that the user really want to do that, the primary button should be “Delete” (action), not “Cancel” (back away).
Placements
When a slide-out triggers a dialogue, ensure that the dialogue is always centered on the screen. The overlay should cover everything behind the dialogue to create a clear separation between the foreground and the background.
Do this
Don't do this
Desktop
Mobile
Error ex
The dialogue is often used to confirm an action that the user took, that could lead to a negative consequence, therefore:
Do this
Don't do this
Result from the latest accessibility review of the component (Angular+React): 2023-07-25