A presentation at HalfStack Vienna in in Vienna, Austria by Hidde de Vries
Our design systems commonly feature components that show on top of other content: tooltips, date pickers, menus and teaching UI, to name just a few. There are many ways to build them, and new features in the web platform are about to make this a whole lot easier. You might not even need JavaScript. In this talk, you’ll learn all about dialogs, including the new ‘popover’ attribute, “modality” and using the top layer.
The following resources were mentioned during the presentation or are useful additional information.
Suggests only using popover if also building modal dialogs exclusively using <dialog>, so that both popovers and modal dialogs are in top layer. Combining popover with role=dialog-based modal dialogs, would cause the popover to be above whatever is in the dialog.
Discussion about extending HTML with a declarative way for making buttons dialog openers.
Here’s what was said about this presentation on social media.