A presentation at All Day Hey in in Leeds, UK 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.
Post by me and Scott O’Hara on built-in accessibility for the popover attribute.
My post on roles for popovers
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.