3 ms·
The <dialog> element actually has deep support at this point, and the polyfill for the few percent of your users on 2021-era Firefox or Safari is totally fine.
by lelandfe 3y ago
The <dialog> element actually has deep support at this point, and the polyfill for the few percent of your users on 2021-era Firefox or Safari is totally fine. I highly recommend the element if you're making modals; the accessibility gains are fabulous.