The HTML Popover API: Top Layer, Light Dismiss, and Less Modal JS
popover, popovertarget, and ::backdrop: native light-dismiss menus and tooltips, plus when a dialog is still the right element.
1 min read
Tag
3 articles · 9 min of reading
popover, popovertarget, and ::backdrop: native light-dismiss menus and tooltips, plus when a dialog is still the right element.
How srcset and sizes let the browser pick the right image resolution automatically, and how to layer AVIF and WebP on top with picture and source.
Alt attributes are the easy 10% of accessibility work. Focus management, semantic structure, and keyboard flow are where most sites actually fail.