News for hackers. Stuff that matters.
Re:Templating in HTML by runarberg on Tuesday October 04, 2022 @05:58PM (#33087626)
> for example a dialog box

The <dialog> element is now supported by all modern browser. I suggest you use it. It has a lot of niceties over implementing one your self, including capturing the focus, correct announcing to assistive technologies, styling the ::backdrop element, etc.

Re:Templating in HTML by labrador on Tuesday October 04, 2022 @06:11PM (#33087781)
Thanks for the tip. I should read the spec again so I don't miss these.