
Building an accessible modal dialog on the native <dialog>
How showModal() handles focus, Escape, and animation so you don’t have to.
Web Standards
Daily web platform news

<dialog>How showModal() handles focus, Escape, and animation so you don’t have to.

<dialog> element using view transitionsMorph a button into a <dialog> by swapping view-transition-name inside startViewTransition().

Smooth entry and exit animations with @starting-style, allow-discrete, and View Transitions.

Hamburger menu built with <dialog>, minimal JS fallback, and smooth transitions.

Simpler dialogs with anchor-positioned close buttons.

Combining modern web APIs for seamless UI animations.

popover vs <dialog>Why toast popovers can float above dialogs yet stay unreachable, and how to fix the top-layer trap.

<dialog> and popover: layered UI patternsBuilt-in layered UI with focus, top layer, and animations handled for you.

Learn CSS course updated with nesting, container queries, anchor positioning, and more.