~/talk

Diving into the Toplayer: Where Dialogs, Popovers, and Modals Live

Talkat UtahJS Conf 2025 · on Friday, 2025-09-12· [web-platform, accessibility]
slides:none on file

Dialog element now ships in all major browsers (Chrome 2014, Firefox last in 2022) and supports show() vs showModal adds to top layer so modal dialogs get automatic backdrop, focus trap and first-interactable focus; non-modal dialogs do not. Popover is an HTML attribute added to the top layer with light-dismiss and built-in keyboard ordering but has positioning quirks — use Floating UI or CSS anchor (anchor gains better support) to tether popovers. Top layer prevents z-index wars (you avoid hitting the 2,147,483,647 z-index limit) and is where requestFullscreen places content.

AI-written summary · about

  1. 0:00Introduction to overlays
  2. 3:06History of web overlays
  3. 7:05Dialogue element explained
  4. 11:21Z-index problems and top layer
  5. 16:22Popover API deep dive
  6. 25:57CSS anchor for popovers
  7. 27:02Comparison of overlay types
  8. 29:06Timeline of top layer evolution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.