gptkbp:instanceOf
|
gptkb:waterfall
|
gptkbp:accessible
|
should use aria-modal and role attributes for accessibility
|
gptkbp:attribute
|
gptkb:class
open
position
style
id
aria-modal
tabindex
|
gptkbp:canBe
|
gptkb:CSS
|
gptkbp:canBeModal
|
true
|
gptkbp:canBeNonModal
|
true
|
gptkbp:canBeScriptedWith
|
gptkb:JavaScript
|
gptkbp:category
|
interactive content
sectioning root
|
gptkbp:compatibleWith
|
gptkb:Internet_Explorer
|
gptkbp:defaultDisplay
|
none
|
gptkbp:definedIn
|
gptkb:HTML5
|
gptkbp:event
|
gptkb:center
cancel
|
gptkbp:example
|
<dialog open>This is a dialog</dialog>
|
https://www.w3.org/2000/01/rdf-schema#label
|
HTML <dialog> element
|
gptkbp:introducedIn
|
gptkb:HTML5.2
|
gptkbp:mayInclude
|
flow content
|
gptkbp:MDNReference
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
|
gptkbp:method
|
close()
show()
showModal()
|
gptkbp:purpose
|
represents a dialog box or other interactive component
|
gptkbp:supportedBy
|
gptkb:opera
gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
|
gptkbp:W3CSpecification
|
https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element
|
gptkbp:bfsParent
|
gptkb:dialog-polyfill
|
gptkbp:bfsLayer
|
6
|