Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the "dialog" element disabled by default in Firefox?

According to caniuse.com, Chrome has supported dialog since 2014. It also says that Firefox does support it, but only if you enable dom.dialog_element.enabled in about:config.

The MDN page for the dialog element does not list any such notes, nor does it contain an explanation for why it's disabled: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

Why does Firefox have the dialog element disabled by default after 5 years of Chrome having it? Does Mozilla want to discourage its use for some reason?

like image 216
Aaron Franke Avatar asked Jan 30 '26 11:01

Aaron Franke


1 Answers

There are some details on the bug tracker.

In short, there are bugs with the current implementation and so it isn't considered ready for release. These are mostly accessibility related (for example, focusing the right element when the dialog is opened and closed).

like image 160
Quentin Avatar answered Jan 31 '26 23:01

Quentin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!