2 ms·
> 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 yo
by runarberg 4y ago
> 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.
- labrador 4y agoThanks for the tip. I should read the spec again so I don't miss these.