blog.jxck.io/entries/2024-09-25/show-modal-dialog.html
Dialog と Popover #1 | blog.jxck.io
1window 1processの時代に作られた
showModalDialog()
の廃止
dialog
popover
https://blog.jxck.io/entries/2024-09-26/dialog-element.html
modal
の実装は難しいので、適当な実装が蔓延っている
フォーカス管理してない
z-index
で負ける
操作できてしまう
モーダルがたくさん開ける
etc...
2014年に仕様がすでにあり、紆余曲折を経て2022年ごろ?までに主要ブラウザで実装