[38] [[HTML]] の [DFN[[CODE(HTMLe)@en[[[dialog]]]]]] [[要素]]は、[[ダイアログボックス]]を表します。

* 歴史

** 初代

[39] 初代の [CODE(HTMLe)@en[[[dialog]]]] [[要素]]は[[会話]]を表すものでしたが、削除されました。
詳しくは [[[CODE(HTMLe)@en[dialog]]要素 (会話)]] の項を参照してください。

** 二代目

-[11] [CITE@en[Dialogs - WHATWG Wiki]]
( ([TIME[2011-06-24 09:10:51 +09:00]] 版))
<http://wiki.whatwg.org/wiki/Dialogs>
-- [62] 
[CITE@en[Dialogs: Difference between revisions - WHATWG Wiki]], [TIME[2023-10-04T03:59:00.000Z]], [TIME[2024-09-06T13:58:49.314Z]] <https://wiki.whatwg.org/index.php?title=Dialogs&diff=6595&oldid=6579>

[63] 
>>62 この時点の案では [CODE[dialog]] の他に [[tooltip]] のための [CODE[info]]
[[要素]]も検討されていた。

[65] 
>>11 履歴には [CODE[dialogtitle]] [[要素]]案があった時代も。

[12] [CITE[IRC logs: freenode / #whatwg / 20110616]]
( ([TIME[2011-06-24 23:47:15 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20110616>

[13] [CITE[IRC logs: freenode / #whatwg / 20110726]]
( ([TIME[2011-08-07 10:33:25 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20110726#l-685>

[14] [CITE[IRC logs: freenode / #whatwg / 20110805]]
( ([TIME[2011-08-20 19:08:12 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20110805#l-180>

[15] [CITE[IRC logs: freenode / #whatwg / 20111117]]
( ([TIME[2011-11-19 14:21:09 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20111117#l-716>



[FIG(data)[ [216] [[HTML要素概説]]

:[F[要素名]]:[CODE[dialog]]
:日付:[TIME[2011-06-15]]
:説明:
[TIME[2011-06-15]]、
[[Ian Hickson]]
は[[ダイアログ]]機能の調査研究を開始した。
[SRC[>>66]]
:説明:
[TIME[2011-06-23]]、
[[Ian Hickson]]
はラフ案を [CITE[WHATWG Wiki]] に記載した。
[SRC[>>66]]
現行
[CODE[dialog]]
の初出である。
:出典:
[REFS[

-
[66] 
[DFN[WHATWGWiki:Dialogs]]:
[CITE@en[Dialogs - WHATWG Wiki]], 
[DATA(.author)[[[WHATWG]]]],
[TIME(.published)[4 April 2012‎][2012-04-04]],
[TIME[2024-03-18T19:06:56.000Z]], [TIME[2024-09-06T14:02:01.814Z]] <https://wiki.whatwg.org/wiki/Dialogs>

]REFS]

]FIG]



[16] [CITE[IRC logs: freenode / #whatwg / 20120131]]
( ([TIME[2012-02-03 21:42:45 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120131>

-
[17] [CITE@en[Web Applications 1.0 r7050     Dialogs in web apps: <dialog>, inert=__&&'&&__', <form method=dialog>, and 'anchor-point'.]]
( ([TIME[2012-04-11 09:42:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7049&to=7050>
-- [61] 
[CITE@en['''['''giow''']''' (0) Dialogs in web apps: <dialog>, inert=__&&'&&__', <form method=dial…]], [[Hixie]], [TIME[2012-04-11 09:42:25 +09:00]], [TIME[2024-09-06T13:55:28.000Z]] <https://github.com/whatwg/html/commit/2fb24fcf3f916236e8767e2cb72b23e5c75b77e9#diff-41cf6794ba4200b839c53531555f0f3998df4cbb01a4d5cb0b94e3ca5e23947d>

[18] [CITE[''''''[''''''whatwg'''''']'''''' Dialogs and prompts]]
( ([TIME[2012-04-12 08:31:18 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-April/035415.html>

[19] [CITE@en[Web Applications 1.0 r7051     Oops, forgot to center the <dialog> element vertically when it is not anchored.]]
( ([TIME[2012-04-12 08:22:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7050&to=7051>

[20] [CITE[IRC logs: freenode / #whatwg / 20120404]]
( ([TIME[2012-04-13 08:28:52 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120404>

[21] [CITE[IRC logs: freenode / #whatwg / 20120406]]
( ([TIME[2012-04-14 23:26:06 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120406#l-863>

[22] [CITE[IRC logs: freenode / #whatwg / 20120411]]
( ([TIME[2012-04-16 21:25:26 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120411>



[FIG(data)[ [64] [[HTML要素概説]]

:[F[要素名]]:[CODE[dialog]]
:日付:[TIME[2012-04-10]]
:説明:
[TIME[2012-04-10]]、
[CITE[HTML Standard]]
に
[CODE[dialog]]
が追加された。
現行仕様である。
:出典:
[REFS[

[REFS[

-
[CITE[HTML r7050]],
[DATA(.author)[[[Hixie]]]], 
[TIME(.published)[2012-04-11 09:42:25 +09:00]], [TIME[2024-09-06T13:55:28.000Z]] <https://github.com/whatwg/html/commit/2fb24fcf3f916236e8767e2cb72b23e5c75b77e9>

]REFS]

]FIG]


[23] [CITE[SwitcherModMini]]
( ([TIME[2011-10-31 19:30:03 +09:00]] 版))
<http://devbug.me/iphone/cydia/switchermodmini/index.html>

[24] [CITE[IRC logs: freenode / #whatwg / 20121210]]
( ([TIME[2012-12-16 18:48:49 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20121210#l-793>

[25] [CITE[''''''[''''''whatwg'''''']'''''' Magic alignment issues]]
( ([TIME[2013-01-18 08:31:37 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-January/038718.html>

[26] [CITE@en[Web Applications 1.0 r8151     Shrink-wrap <dialog>s.]]
( ([TIME[2013-08-22 08:34:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8150&to=8151>

[27] [CITE[''''''[''''''whatwg'''''']'''''' Comments on <dialog>]]
( ([TIME[2013-09-26 22:41:57 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-September/040897.html>

[28] [CITE[IRC logs: freenode / #whatwg / 20130926]]
( ([TIME[2013-09-27 17:31:03 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130926>

[30] [CITE[''''''[''''''whatwg'''''']'''''' Comments on <dialog>]]
( ([TIME[2013-12-17 06:15:52 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041796.html>

[31] [CITE[IRC logs: freenode / #whatwg / 20131216]]
( ([TIME[2013-12-17 23:32:46 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20131216#l-805>

[32] [CITE[''''''[''''''whatwg'''''']'''''' Comments on <dialog>]]
( ([TIME[2013-12-17 23:40:20 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041799.html>

[33] [CITE@en[Web Applications 1.0 r8363     Make the viewport around a <dialog> always scrollable. Don't ask me what happens if an unscrollable viewport is scrolled while a dialog is up and then the dialog goes away, that isn't clear at this time. If you think we should scroll back to the previous position, or force a previous dialog to be visible, or some such, file a bug with details, please. Thanks...]]
( ([TIME[2013-12-18 03:08:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8362&to=8363>

[34] [CITE[''''''[''''''whatwg'''''']'''''' Comments on <dialog>]]
( ([TIME[2014-02-01 09:31:33 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2014-January/041958.html>

[35] [CITE@en[Web Applications 1.0 r8457     Make non-modal dialogs not center automatically.]]
( ([TIME[2014-02-05 02:04:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8456&to=8457>

[36] [CITE@en[Web Applications 1.0 r8478     Revamp how focus is defined, to actually handle things we've ignored before, like viewports and scrollable regions]]
( ([TIME[2014-02-20 07:39:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8477&to=8478>

[37] [CITE[IRC logs: freenode / #whatwg / 20140310]]
( ([TIME[2014-03-11 19:42:32 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140310#l-404>

[40] [CITE@en[Web Applications 1.0 r8488  Disallow <dialog tabindex>, for sanity]]
( ([TIME[2014-02-21 07:52:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8487&to=8488>

* 関連

[41] [CODE(HTMLa)@en[[[tabindex]]]] [[属性]]と機能が矛盾するので、 [CODE(HTMLe)@en[[[dialog]]]]
[[要素]]では禁止されています [SRC[>>40]]。


[42] [CITE@en[Web Applications 1.0 r8591     dialog.close() shouldn't throw]]
( ([TIME[2014-05-01 03:41:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8590&to=8591>

[43] [CITE@en[Bug 24991 – Modal <dialog>s should fill the screen on mobile devices]]
( ([TIME[2014-05-09 14:07:15 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=24991>

[44] [CITE@en[Would be useful to have a pseudo-class to select modal dialogs]]
( ([[Ian Hickson]] 著, [TIME[2014-05-07 07:30:02 +09:00]] 版))
<http://lists.w3.org/Archives/Public/www-style/2014May/0022.html>

[45] [CITE[IRC logs: freenode / #whatwg / 20140507]]
( ([TIME[2014-05-09 23:04:36 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140507>

[46] [CITE@en[Web Applications 1.0 r8750     Make the default styling for modal dialogs not overflow the device on small screens]]
( ([TIME[2014-09-06 05:47:00 +09:00]] 版))
<http://html5.org/r/8750>

[47] [CITE@en[Bug 24720 – <dialog>: New <dialog>- and focus-related APIs]]
( ([TIME[2014-09-30 04:39:03 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=24720>

[48] [CITE@en[Bug 24718 – <dialog>: we should add a showWithoutFocus() method to <dialog> for cases where you don't want it focused]]
( ([TIME[2014-09-30 04:39:47 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=24718>

[49] [CITE@en[ACTION-1346: Add further details to the ARIA "dialog" role description · 6d8a689 · w3c/aria]]
( ([TIME[2015-01-15 11:47:58 +09:00]] 版))
<https://github.com/w3c/aria/commit/6d8a6898276c409f9c35c9699bb9227d544464ff>

[1] [CITE@en[Editorial: synchronize with the DOM Standard · whatwg/html@21c6ec7]]
([TIME[2016-03-20 18:13:52 +09:00]] 版)
<https://github.com/whatwg/html/commit/21c6ec77594eb89b836d4872222f5916910967fd>

[2] [CITE@en[Formalize custom element reactions · whatwg/html@27aa7bc]]
([TIME[2016-04-26 18:57:53 +09:00]] 版)
<https://github.com/whatwg/html/commit/27aa7bc4fa6f168654a8c858f0773e611f679b39>

[3] [CITE@en[Use Fullscreen's top layer's add/remove algorithms]]
([[foolip]]著, [TIME[2016-09-16 22:41:21 +09:00]])
<https://github.com/whatwg/html/commit/d73ade006ca7e01e8b1f8bb5d7bbd56136945551>

[4] [CITE@en[Remove anchored positioning of <dialog>s]]
([[domenic]]著, [TIME[2016-12-09 10:48:35 +09:00]])
<https://github.com/whatwg/html/commit/44caef36fdee9de67b36e3f96c05997218ea2cb5>

[5] [CITE@en[24718 – <dialog>: we should add a showWithoutFocus() method to <dialog> for cases where you don't want it focused]]
([TIME[2016-12-14 13:16:56 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=24718>

[6] [CITE@en[Clarify the effects of removing a <dialog>'s open attribute]]
([[domenic]]著, [TIME[2016-12-16 17:39:56 +09:00]])
<https://github.com/whatwg/html/commit/fb50a2a1bbae2ed086f9001258ba8690b583fb06>

[7] [CITE@en[Make <dialog> have explicit display: block by default]]
([[zcorpan]]著, [TIME[2017-03-24 13:11:57 +09:00]])
<https://github.com/whatwg/html/commit/394c6b2462bf26c5a658ff9594a4f39ed8a838df>

[8] [CITE@en[Remove default style for <dialog> for small screens]]
([[zcorpan]]著, [TIME[2017-03-23 19:09:19 +09:00]])
<https://github.com/whatwg/html/commit/2312f72b65aacf5b16706020fee2e35ec6f991fd>

[9] [CITE@en[Use logical positioning for centering a dialog]]
([[domenic]]著, [TIME[2017-04-08 00:44:51 +09:00]])
<https://github.com/whatwg/html/commit/a03a914b36981f83b7f1c183ff63b01ffd1af40d>

[10] [CITE@en[24720 – <dialog>: New <dialog>- and focus-related APIs]]
([TIME[2017-07-23 14:15:37 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=24720>

[29] [CITE@en[Remove the pending dialog stack in favor of the top layer]]
([[domenic]]著, [TIME[2017-09-05 18:48:24 +09:00]])
<https://github.com/whatwg/html/commit/ea14be5f8cdbab1598b4000887bd6990c039aaff>

[50] [CITE@en[The pending dialog stack and the stack of top layer · Issue #2268 · whatwg/html]]
([TIME[2017-09-06 17:43:37 +09:00]])
<https://github.com/whatwg/html/issues/2268>

[51] [CITE@en[Remove the pending dialog stack in favor of the top layer by domenic · Pull Request #2341 · whatwg/html]]
([TIME[2017-09-06 17:45:14 +09:00]])
<https://github.com/whatwg/html/pull/2341>

[52] [CITE@en[Disallow dialog.requestFullscreen()]]
([[foolip]]著, [TIME[2017-09-26 18:43:40 +09:00]])
<https://github.com/whatwg/fullscreen/commit/689fdb25641c0be0ff6141371113a032ecb196ee>

[53] [CITE@en[Reinstate the hierarchy restrictions by foolip · Pull Request #91 · whatwg/fullscreen]]
([TIME[2017-09-29 15:18:20 +09:00]])
<https://github.com/whatwg/fullscreen/pull/91>

[54] [CITE@en[Disallow dialog.requestFullscreen() by foolip · Pull Request #104 · whatwg/fullscreen]]
([TIME[2017-09-29 15:19:03 +09:00]])
<https://github.com/whatwg/fullscreen/pull/104>

[55] [CITE@en[Remove the concept of "dialog group"]]
([[TakayoshiKochi]]著, [TIME[2018-03-15 16:09:59 +09:00]])
<https://github.com/whatwg/html/commit/a4bb3465c86896b95b7d66c1e9047e8a313c7212>

[56] [CITE@en[Remove the concept of "dialog group" by TakayoshiKochi · Pull Request #3566 · whatwg/html]]
([TIME[2018-03-17 17:39:02 +09:00]])
<https://github.com/whatwg/html/pull/3566>

[57] [CITE@en[Remove "control group" concept from the focus model]]
([[TakayoshiKochi]]著, [TIME[2018-05-15 00:27:08 +09:00]])
<https://github.com/whatwg/html/commit/90a60b2a0dc740b8b0093b07ca0a41e70ba8d83a>

[58] [CITE@en[Should <dialog> actually create a "control group" for focus? · Issue #2171 · whatwg/html]]
([TIME[2018-05-15 14:29:46 +09:00]])
<https://github.com/whatwg/html/issues/2171>

[59] [CITE@en[Remove "control group" concept from HTML by TakayoshiKochi · Pull Request #3647 · whatwg/html]]
([TIME[2018-05-15 14:32:19 +09:00]])
<https://github.com/whatwg/html/pull/3647>

[60] [CITE@en[Prevent double-focusing with autofocus="" inside <dialog>]]
([[tkent-google]], [TIME[2019-11-08 03:58:13 +09:00]], [TIME[2021-03-08T07:27:38.000Z]])
<https://github.com/whatwg/html/commit/b48bb2238269d90ea4f455a52cdf29505aff3df0>