A presentation at CSS Day in in Amsterdam, Netherlands 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.
You could thumbs up this issue if you feel opening <dialog> elements without JavaScript would be useful. Or add a comment if you have ideas or thoughts.
Here’s what was said about this presentation on social media.