Clarifying The Relationship Between Popovers And Dialogs
October 24, 2024
The difference between Popovers (i.e., the popover attribute) and Dialogs (i.e., both the element and the dialog accessible role) is incredibly confusing — so much that many articles (like this, this, and this) have tried to shed some light on the issue.
If you’re still feeling confused, I hope this one clears up that confusion once and for all.
…
Here’s a quick summary of the mental model:
- Popover is an umbrella term for any kind of on-demand popup.
- Dialog is one type of popover — a kind that creates a new window (or card) to contain some content.
Source: Clarifying The Relationship Between Popovers And Dialogs | CSS-Tricks
Excellent examination of how these two relate.