const STATIC_META_DB: StaticMetaDb = StaticMetaDb {
global_attribute_names: StaticSet(&[
"accesskey",
"autocapitalize",
"autofocus",
"class",
"contenteditable",
"dir",
"draggable",
"enterkeyhint",
"exportparts",
"hidden",
"id",
"inert",
"inputmode",
"is",
"itemid",
"itemprop",
"itemref",
"itemscope",
"itemtype",
"lang",
"nonce",
"onabort",
"onautocomplete",
"onautocompleteerror",
"onblur",
"oncancel",
"oncanplay",
"oncanplaythrough",
"onchange",
"onclick",
"onclose",
"oncontextmenu",
"oncuechange",
"ondblclick",
"ondrag",
"ondragend",
"ondragenter",
"ondragleave",
"ondragover",
"ondragstart",
"ondrop",
"ondurationchange",
"onemptied",
"onended",
"onerror",
"onfocus",
"oninput",
"oninvalid",
"onkeydown",
"onkeypress",
"onkeyup",
"onload",
"onloadeddata",
"onloadedmetadata",
"onloadstart",
"onmousedown",
"onmouseenter",
"onmouseleave",
"onmousemove",
"onmouseout",
"onmouseover",
"onmouseup",
"onmousewheel",
"onpause",
"onplay",
"onplaying",
"onprogress",
"onratechange",
"onreset",
"onresize",
"onscroll",
"onseeked",
"onseeking",
"onselect",
"onshow",
"onsort",
"onstalled",
"onsubmit",
"onsuspend",
"ontimeupdate",
"ontoggle",
"onvolumechange",
"onwaiting",
"part",
"popover",
"role",
"slot",
"spellcheck",
"style",
"tabindex",
"title",
"translate",
"virtualkeyboardpolicy"])
,
elementmeta: StaticMap(&[
("a", StaticElementMeta {
tag_name: "a"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("download", StaticAttribute {
description: "Whether to download the resource instead of navigating to it, and its filename if so",
ty: StaticAttributeType::KString}
),
("href", StaticAttribute {
description: "Address of the hyperlink",
ty: StaticAttributeType::KString}
),
("hreflang", StaticAttribute {
description: "Language of the linked resource",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Anchor -- not part of the standard any more, but sometimes necessary?",
ty: StaticAttributeType::KString}
),
("ping", StaticAttribute {
description: "URLs to ping",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("rel", StaticAttribute {
description: "Relationship between the location in the document containing the hyperlink and the destination resource",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("target", StaticAttribute {
description: "Navigable for hyperlink navigation",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Hint for the type of the referenced resource",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("abbr", StaticElementMeta {
tag_name: "abbr"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("address", StaticElementMeta {
tag_name: "address"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("area", StaticElementMeta {
tag_name: "area"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("alt", StaticAttribute {
description: "Replacement text for use when images are not available",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("coords", StaticAttribute {
description: "Coordinates for the shape to be created in an image map",
ty: StaticAttributeType::KString}
),
("download", StaticAttribute {
description: "Whether to download the resource instead of navigating to it, and its filename if so",
ty: StaticAttributeType::KString}
),
("href", StaticAttribute {
description: "Address of the hyperlink",
ty: StaticAttributeType::KString}
),
("ping", StaticAttribute {
description: "URLs to ping",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("rel", StaticAttribute {
description: "Relationship between the location in the document containing the hyperlink and the destination resource",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("shape", StaticAttribute {
description: "The kind of shape to be created in an image map",
ty: StaticAttributeType::KString}
),
("target", StaticAttribute {
description: "Navigable for hyperlink navigation",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("article", StaticElementMeta {
tag_name: "article"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("aside", StaticElementMeta {
tag_name: "aside"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("audio", StaticElementMeta {
tag_name: "audio"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("autoplay", StaticAttribute {
description: "Hint that the media resource can be started automatically when the page is loaded",
ty: StaticAttributeType::KString}
),
("controls", StaticAttribute {
description: "Show user agent controls",
ty: StaticAttributeType::KString}
),
("crossorigin", StaticAttribute {
description: "How the element handles crossorigin requests",
ty: StaticAttributeType::KString}
),
("loop", StaticAttribute {
description: "Whether to loop the media resource",
ty: StaticAttributeType::KString}
),
("muted", StaticAttribute {
description: "Whether to mute the media resource by default",
ty: StaticAttributeType::KString}
),
("preload", StaticAttribute {
description: "Hints how much buffering the media resource will likely need",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("b", StaticElementMeta {
tag_name: "b"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("base", StaticElementMeta {
tag_name: "base"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("href", StaticAttribute {
description: "Document base URL",
ty: StaticAttributeType::KString}
),
("target", StaticAttribute {
description: "Default navigable for hyperlink navigation and form submission",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("bdi", StaticElementMeta {
tag_name: "bdi"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("bdo", StaticElementMeta {
tag_name: "bdo"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("blockquote", StaticElementMeta {
tag_name: "blockquote"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("cite", StaticAttribute {
description: "Link to the source of the quotation or more information about the edit",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("body", StaticElementMeta {
tag_name: "body"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("br", StaticElementMeta {
tag_name: "br"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("button", StaticElementMeta {
tag_name: "button"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::Bool}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("formaction", StaticAttribute {
description: "URL to use for form submission",
ty: StaticAttributeType::KString}
),
("formenctype", StaticAttribute {
description: "Entry list encoding type to use for form submission",
ty: StaticAttributeType::KString}
),
("formmethod", StaticAttribute {
description: "Variant to use for form submission",
ty: StaticAttributeType::KString}
),
("formnovalidate", StaticAttribute {
description: "Bypass form control validation for form submission",
ty: StaticAttributeType::Bool}
),
("formtarget", StaticAttribute {
description: "Navigable for form submission",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of the element to use for form submission and in the form.elements API",
ty: StaticAttributeType::KString}
),
("popovertarget", StaticAttribute {
description: "Targets a popover element to toggle, show, or hide",
ty: StaticAttributeType::KString}
),
("popovertargetaction", StaticAttribute {
description: "Indicates whether a targeted popover element is to be toggled, shown, or hidden",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of button",
ty: StaticAttributeType::KString}
),
("value", StaticAttribute {
description: "Value to be used for form submission",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("canvas", StaticElementMeta {
tag_name: "canvas"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::Integer}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("caption", StaticElementMeta {
tag_name: "caption"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("cite", StaticElementMeta {
tag_name: "cite"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("code", StaticElementMeta {
tag_name: "code"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("col", StaticElementMeta {
tag_name: "col"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("span", StaticAttribute {
description: "Number of columns spanned by the element",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("colgroup", StaticElementMeta {
tag_name: "colgroup"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("span", StaticAttribute {
description: "Number of columns spanned by the element",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"col",
"template"])
}
),
("data", StaticElementMeta {
tag_name: "data"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("value", StaticAttribute {
description: "Machine-readable value",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("datalist", StaticElementMeta {
tag_name: "datalist"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"option",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("dd", StaticElementMeta {
tag_name: "dd"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("del", StaticElementMeta {
tag_name: "del"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("cite", StaticAttribute {
description: "Link to the source of the quotation or more information about the edit",
ty: StaticAttributeType::KString}
),
("datetime", StaticAttribute {
description: "Date and (optionally) time of the change",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("details", StaticElementMeta {
tag_name: "details"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("open", StaticAttribute {
description: "Whether the details are visible",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"summary",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("dfn", StaticElementMeta {
tag_name: "dfn"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("dialog", StaticElementMeta {
tag_name: "dialog"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("open", StaticAttribute {
description: "Whether the dialog box is showing",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("div", StaticElementMeta {
tag_name: "div"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("dl", StaticElementMeta {
tag_name: "dl"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"dd",
"div",
"dt",
"script",
"template"])
}
),
("dt", StaticElementMeta {
tag_name: "dt"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("em", StaticElementMeta {
tag_name: "em"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("embed", StaticElementMeta {
tag_name: "embed"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of embedded resource",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("fieldset", StaticElementMeta {
tag_name: "fieldset"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the descendant form controls, except any inside legend, are disabled",
ty: StaticAttributeType::Bool}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of the element to use in the form.elements API.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("figcaption", StaticElementMeta {
tag_name: "figcaption"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("figure", StaticElementMeta {
tag_name: "figure"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("footer", StaticElementMeta {
tag_name: "footer"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("form", StaticElementMeta {
tag_name: "form"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("accept-charset", StaticAttribute {
description: "Character encodings to use for form submission",
ty: StaticAttributeType::KString}
),
("action", StaticAttribute {
description: "URL to use for form submission",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("autocomplete", StaticAttribute {
description: "Default setting for autofill feature for controls in the form",
ty: StaticAttributeType::KString}
),
("enctype", StaticAttribute {
description: "Entry list encoding type to use for form submission",
ty: StaticAttributeType::KString}
),
("method", StaticAttribute {
description: "Variant to use for form submission",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of form to use in the document.forms API",
ty: StaticAttributeType::KString}
),
("novalidate", StaticAttribute {
description: "Bypass form control validation for form submission",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("target", StaticAttribute {
description: "Navigable for form submission",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("h1", StaticElementMeta {
tag_name: "h1"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("h2", StaticElementMeta {
tag_name: "h2"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("h3", StaticElementMeta {
tag_name: "h3"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("h4", StaticElementMeta {
tag_name: "h4"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("h5", StaticElementMeta {
tag_name: "h5"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("h6", StaticElementMeta {
tag_name: "h6"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("head", StaticElementMeta {
tag_name: "head"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"base",
"link",
"meta",
"noscript",
"script",
"style",
"template",
"title"])
}
),
("header", StaticElementMeta {
tag_name: "header"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("hgroup", StaticElementMeta {
tag_name: "hgroup"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"])
}
),
("hr", StaticElementMeta {
tag_name: "hr"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("html", StaticElementMeta {
tag_name: "html"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"body",
"head"])
}
),
("i", StaticElementMeta {
tag_name: "i"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("iframe", StaticElementMeta {
tag_name: "iframe"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("allow", StaticAttribute {
description: "Permissions policy to be applied to the iframe's contents",
ty: StaticAttributeType::KString}
),
("allowfullscreen", StaticAttribute {
description: "Whether to allow the iframe's contents to use requestFullscreen()",
ty: StaticAttributeType::KString}
),
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::KString}
),
("loading", StaticAttribute {
description: "Used when determining loading deferral",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of content navigable",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("sandbox", StaticAttribute {
description: "Security rules for nested content",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("srcdoc", StaticAttribute {
description: "A document to render in the iframe",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("img", StaticElementMeta {
tag_name: "img"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("alt", StaticAttribute {
description: "Replacement text for use when images are not available",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("crossorigin", StaticAttribute {
description: "How the element handles crossorigin requests",
ty: StaticAttributeType::KString}
),
("decoding", StaticAttribute {
description: "Decoding hint to use when processing this image for presentation",
ty: StaticAttributeType::KString}
),
("fetchpriority", StaticAttribute {
description: "Sets the priority for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::KString}
),
("ismap", StaticAttribute {
description: "Whether the image is a server-side image map",
ty: StaticAttributeType::KString}
),
("loading", StaticAttribute {
description: "Used when determining loading deferral",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("sizes", StaticAttribute {
description: "Image sizes for different page layouts",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("srcset", StaticAttribute {
description: "Images to use in different situations, e.g., high-resolution displays, small monitors, etc.",
ty: StaticAttributeType::KString}
),
("usemap", StaticAttribute {
description: "Name of image map to use",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("input", StaticElementMeta {
tag_name: "input"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("accept", StaticAttribute {
description: "Hint for expected file type in file upload controls",
ty: StaticAttributeType::KString}
),
("alt", StaticAttribute {
description: "Replacement text for use when images are not available",
ty: StaticAttributeType::KString}
),
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("autocomplete", StaticAttribute {
description: "Hint for form autofill feature",
ty: StaticAttributeType::KString}
),
("checked", StaticAttribute {
description: "Whether the control is checked",
ty: StaticAttributeType::KString}
),
("dirname", StaticAttribute {
description: "Name of form control to use for sending the element's directionality in form submission",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::KString}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("formaction", StaticAttribute {
description: "URL to use for form submission",
ty: StaticAttributeType::KString}
),
("formenctype", StaticAttribute {
description: "Entry list encoding type to use for form submission",
ty: StaticAttributeType::KString}
),
("formmethod", StaticAttribute {
description: "Variant to use for form submission",
ty: StaticAttributeType::KString}
),
("formnovalidate", StaticAttribute {
description: "Bypass form control validation for form submission",
ty: StaticAttributeType::KString}
),
("formtarget", StaticAttribute {
description: "Navigable for form submission",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::KString}
),
("list", StaticAttribute {
description: "List of autocomplete options",
ty: StaticAttributeType::KString}
),
("max", StaticAttribute {
description: "Maximum value",
ty: StaticAttributeType::KString}
),
("maxlength", StaticAttribute {
description: "Maximum length of value",
ty: StaticAttributeType::KString}
),
("min", StaticAttribute {
description: "Minimum value",
ty: StaticAttributeType::KString}
),
("minlength", StaticAttribute {
description: "Minimum length of value",
ty: StaticAttributeType::KString}
),
("multiple", StaticAttribute {
description: "Whether to allow multiple values",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of the element to use for form submission and in the form.elements API",
ty: StaticAttributeType::KString}
),
("pattern", StaticAttribute {
description: "Pattern to be matched by the form control's value",
ty: StaticAttributeType::KString}
),
("placeholder", StaticAttribute {
description: "User-visible label to be placed within the form control",
ty: StaticAttributeType::KString}
),
("popovertarget", StaticAttribute {
description: "Targets a popover element to toggle, show, or hide",
ty: StaticAttributeType::KString}
),
("popovertargetaction", StaticAttribute {
description: "Indicates whether a targeted popover element is to be toggled, shown, or hidden",
ty: StaticAttributeType::KString}
),
("readonly", StaticAttribute {
description: "Whether to allow the value to be edited by the user",
ty: StaticAttributeType::KString}
),
("required", StaticAttribute {
description: "Whether the control is required for form submission",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("size", StaticAttribute {
description: "Size of the control",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("step", StaticAttribute {
description: "Granularity to be matched by the form control's value",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of form control",
ty: StaticAttributeType::KString}
),
("value", StaticAttribute {
description: "Value of the form control",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("ins", StaticElementMeta {
tag_name: "ins"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("cite", StaticAttribute {
description: "Link to the source of the quotation or more information about the edit",
ty: StaticAttributeType::KString}
),
("datetime", StaticAttribute {
description: "Date and (optionally) time of the change",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("kbd", StaticElementMeta {
tag_name: "kbd"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("label", StaticElementMeta {
tag_name: "label"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("for", StaticAttribute {
description: "Associate the label with form control",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("legend", StaticElementMeta {
tag_name: "legend"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"hgroup",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("li", StaticElementMeta {
tag_name: "li"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("link", StaticElementMeta {
tag_name: "link"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("as", StaticAttribute {
description: "Potential destination for a preload request (for rel=\"preload\" and rel=\"modulepreload\")",
ty: StaticAttributeType::KString}
),
("blocking", StaticAttribute {
description: "Whether the element is potentially render-blocking",
ty: StaticAttributeType::KString}
),
("color", StaticAttribute {
description: "Color to use when customizing a site's icon (for rel=\"mask-icon\")",
ty: StaticAttributeType::KString}
),
("crossorigin", StaticAttribute {
description: "How the element handles crossorigin requests",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the link is disabled",
ty: StaticAttributeType::KString}
),
("fetchpriority", StaticAttribute {
description: "Sets the priority for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("href", StaticAttribute {
description: "Address of the hyperlink",
ty: StaticAttributeType::KString}
),
("hreflang", StaticAttribute {
description: "Language of the linked resource",
ty: StaticAttributeType::KString}
),
("imagesizes", StaticAttribute {
description: "Image sizes for different page layouts (for rel=\"preload\")",
ty: StaticAttributeType::KString}
),
("imagesrcset", StaticAttribute {
description: "Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel=\"preload\")",
ty: StaticAttributeType::KString}
),
("integrity", StaticAttribute {
description: "Integrity metadata used in Subresource Integrity checks [SRI]",
ty: StaticAttributeType::KString}
),
("media", StaticAttribute {
description: "Applicable media",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("rel", StaticAttribute {
description: "Relationship between the document containing the hyperlink and the destination resource",
ty: StaticAttributeType::KString}
),
("sizes", StaticAttribute {
description: "Sizes of the icons (for rel=\"icon\")",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Hint for the type of the referenced resource",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("main", StaticElementMeta {
tag_name: "main"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("map", StaticElementMeta {
tag_name: "map"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("name", StaticAttribute {
description: "Name of image map to reference from the usemap attribute",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("mark", StaticElementMeta {
tag_name: "mark"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("menu", StaticElementMeta {
tag_name: "menu"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"li",
"script",
"template"])
}
),
("meta", StaticElementMeta {
tag_name: "meta"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("charset", StaticAttribute {
description: "Character encoding declaration",
ty: StaticAttributeType::KString}
),
("content", StaticAttribute {
description: "Value of the element",
ty: StaticAttributeType::KString}
),
("http-equiv", StaticAttribute {
description: "Pragma directive",
ty: StaticAttributeType::KString}
),
("media", StaticAttribute {
description: "Applicable media",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Metadata name",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("meter", StaticElementMeta {
tag_name: "meter"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("high", StaticAttribute {
description: "Low limit of high range",
ty: StaticAttributeType::Float}
),
("low", StaticAttribute {
description: "High limit of low range",
ty: StaticAttributeType::Float}
),
("max", StaticAttribute {
description: "Upper bound of range",
ty: StaticAttributeType::Float}
),
("min", StaticAttribute {
description: "Lower bound of range",
ty: StaticAttributeType::Float}
),
("optimum", StaticAttribute {
description: "Optimum value in gauge",
ty: StaticAttributeType::Float}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("value", StaticAttribute {
description: "Current value of the element",
ty: StaticAttributeType::Float}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("nav", StaticElementMeta {
tag_name: "nav"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("noscript", StaticElementMeta {
tag_name: "noscript"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("object", StaticElementMeta {
tag_name: "object"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("data", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of content navigable",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of embedded resource",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("ol", StaticElementMeta {
tag_name: "ol"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("reversed", StaticAttribute {
description: "Number the list backwards",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("start", StaticAttribute {
description: "Starting value of the list",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Kind of list marker",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"li",
"script",
"template"])
}
),
("optgroup", StaticElementMeta {
tag_name: "optgroup"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::Bool}
),
("label", StaticAttribute {
description: "User-visible label",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"option",
"script",
"template"])
}
),
("option", StaticElementMeta {
tag_name: "option"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::Bool}
),
("label", StaticAttribute {
description: "User-visible label",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("selected", StaticAttribute {
description: "Whether the option is selected by default",
ty: StaticAttributeType::Bool}
),
("value", StaticAttribute {
description: "Value to be used for form submission",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
])
}
),
("output", StaticElementMeta {
tag_name: "output"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("for", StaticAttribute {
description: "Specifies controls from which the output was calculated",
ty: StaticAttributeType::KString}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("name", StaticAttribute {
description: "Name of the element to use in the form.elements API.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("p", StaticElementMeta {
tag_name: "p"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("picture", StaticElementMeta {
tag_name: "picture"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"script",
"source",
"template"])
}
),
("pre", StaticElementMeta {
tag_name: "pre"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("progress", StaticElementMeta {
tag_name: "progress"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("max", StaticAttribute {
description: "Upper bound of range",
ty: StaticAttributeType::Float}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("value", StaticAttribute {
description: "Current value of the element",
ty: StaticAttributeType::Float}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("q", StaticElementMeta {
tag_name: "q"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("cite", StaticAttribute {
description: "Link to the source of the quotation or more information about the edit",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("rp", StaticElementMeta {
tag_name: "rp"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("rt", StaticElementMeta {
tag_name: "rt"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("ruby", StaticElementMeta {
tag_name: "ruby"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("s", StaticElementMeta {
tag_name: "s"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("samp", StaticElementMeta {
tag_name: "samp"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("script", StaticElementMeta {
tag_name: "script"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("async", StaticAttribute {
description: "Execute script when available, without blocking while fetching",
ty: StaticAttributeType::KString}
),
("blocking", StaticAttribute {
description: "Whether the element is potentially render-blocking",
ty: StaticAttributeType::KString}
),
("crossorigin", StaticAttribute {
description: "How the element handles crossorigin requests",
ty: StaticAttributeType::KString}
),
("defer", StaticAttribute {
description: "Defer script execution",
ty: StaticAttributeType::KString}
),
("fetchpriority", StaticAttribute {
description: "Sets the priority for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("integrity", StaticAttribute {
description: "Integrity metadata used in Subresource Integrity checks [SRI]",
ty: StaticAttributeType::KString}
),
("nomodule", StaticAttribute {
description: "Prevents execution in user agents that support module scripts",
ty: StaticAttributeType::KString}
),
("referrerpolicy", StaticAttribute {
description: "Referrer policy for fetches initiated by the element",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of script",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
])
}
),
("search", StaticElementMeta {
tag_name: "search"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("section", StaticElementMeta {
tag_name: "section"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("select", StaticElementMeta {
tag_name: "select"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("autocomplete", StaticAttribute {
description: "Hint for form autofill feature",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::Bool}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("multiple", StaticAttribute {
description: "Whether to allow multiple values",
ty: StaticAttributeType::Bool}
),
("name", StaticAttribute {
description: "Name of the element to use for form submission and in the form.elements API",
ty: StaticAttributeType::KString}
),
("required", StaticAttribute {
description: "Whether the control is required for form submission",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("size", StaticAttribute {
description: "Size of the control",
ty: StaticAttributeType::Integer}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"hr",
"optgroup",
"option",
"script",
"template"])
}
),
("slot", StaticElementMeta {
tag_name: "slot"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("name", StaticAttribute {
description: "Name of shadow tree slot",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("small", StaticElementMeta {
tag_name: "small"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("source", StaticElementMeta {
tag_name: "source"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("media", StaticAttribute {
description: "Applicable media",
ty: StaticAttributeType::KString}
),
("type", StaticAttribute {
description: "Type of embedded resource",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("span", StaticElementMeta {
tag_name: "span"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("strong", StaticElementMeta {
tag_name: "strong"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("style", StaticElementMeta {
tag_name: "style"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("blocking", StaticAttribute {
description: "Whether the element is potentially render-blocking",
ty: StaticAttributeType::KString}
),
("media", StaticAttribute {
description: "Applicable media",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
])
}
),
("sub", StaticElementMeta {
tag_name: "sub"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("summary", StaticElementMeta {
tag_name: "summary"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"hgroup",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("sup", StaticElementMeta {
tag_name: "sup"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("table", StaticElementMeta {
tag_name: "table"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("bgcolor", StaticAttribute {
description: " -- not part of the standard anymore, but sometimes necessary?",
ty: StaticAttributeType::KString}
),
("border", StaticAttribute {
description: " -- not part of the standard anymore, but sometimes necessary?",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"caption",
"colgroup",
"script",
"tbody",
"template",
"tfoot",
"thead",
"tr"])
}
),
("tbody", StaticElementMeta {
tag_name: "tbody"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"script",
"template",
"tr"])
}
),
("td", StaticElementMeta {
tag_name: "td"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("align", StaticAttribute {
description: "left|right|center -- not part of the standard anymore, but sometimes necessary?",
ty: StaticAttributeType::KString}
),
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("bgcolor", StaticAttribute {
description: " -- not part of the standard anymore, but sometimes necessary?",
ty: StaticAttributeType::KString}
),
("colspan", StaticAttribute {
description: "Number of columns that the cell is to span",
ty: StaticAttributeType::KString}
),
("headers", StaticAttribute {
description: "The header cells for this cell",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("rowspan", StaticAttribute {
description: "Number of rows that the cell is to span",
ty: StaticAttributeType::KString}
),
("valign", StaticAttribute {
description: "top|middle|bottom -- not part of the standard anymore, but sometimes necessary?",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("template", StaticElementMeta {
tag_name: "template"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("textarea", StaticElementMeta {
tag_name: "textarea"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("autocomplete", StaticAttribute {
description: "Hint for form autofill feature",
ty: StaticAttributeType::KString}
),
("cols", StaticAttribute {
description: "Maximum number of characters per line",
ty: StaticAttributeType::Integer}
),
("dirname", StaticAttribute {
description: "Name of form control to use for sending the element's directionality in form submission",
ty: StaticAttributeType::KString}
),
("disabled", StaticAttribute {
description: "Whether the form control is disabled",
ty: StaticAttributeType::Bool}
),
("form", StaticAttribute {
description: "Associates the element with a form element",
ty: StaticAttributeType::KString}
),
("maxlength", StaticAttribute {
description: "Maximum length of value",
ty: StaticAttributeType::Integer}
),
("minlength", StaticAttribute {
description: "Minimum length of value",
ty: StaticAttributeType::Integer}
),
("name", StaticAttribute {
description: "Name of the element to use for form submission and in the form.elements API",
ty: StaticAttributeType::KString}
),
("placeholder", StaticAttribute {
description: "User-visible label to be placed within the form control",
ty: StaticAttributeType::KString}
),
("readonly", StaticAttribute {
description: "Whether to allow the value to be edited by the user",
ty: StaticAttributeType::Bool}
),
("required", StaticAttribute {
description: "Whether the control is required for form submission",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("rows", StaticAttribute {
description: "Number of lines to show",
ty: StaticAttributeType::Integer}
),
("wrap", StaticAttribute {
description: "How the value of the form control is to be wrapped for form submission",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("tfoot", StaticElementMeta {
tag_name: "tfoot"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"script",
"template",
"tr"])
}
),
("th", StaticElementMeta {
tag_name: "th"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("abbr", StaticAttribute {
description: "Alternative label to use for the header cell when referencing the cell in other contexts",
ty: StaticAttributeType::KString}
),
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("colspan", StaticAttribute {
description: "Number of columns that the cell is to span",
ty: StaticAttributeType::KString}
),
("headers", StaticAttribute {
description: "The header cells for this cell",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("rowspan", StaticAttribute {
description: "Number of rows that the cell is to span",
ty: StaticAttributeType::KString}
),
("scope", StaticAttribute {
description: "Specifies which cells the header cell applies to",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"blockquote",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"table",
"template",
"textarea",
"time",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("thead", StaticElementMeta {
tag_name: "thead"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"script",
"template",
"tr"])
}
),
("time", StaticElementMeta {
tag_name: "time"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("datetime", StaticAttribute {
description: "Machine-readable value",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("title", StaticElementMeta {
tag_name: "title"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
])
,
allows_child_text: true
,
child_elements: StaticSet(&[
])
}
),
("tr", StaticElementMeta {
tag_name: "tr"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"script",
"td",
"template",
"th"])
}
),
("track", StaticElementMeta {
tag_name: "track"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("default", StaticAttribute {
description: "Enable the track if no other text track is more suitable",
ty: StaticAttributeType::Bool}
),
("kind", StaticAttribute {
description: "The type of text track",
ty: StaticAttributeType::KString}
),
("label", StaticAttribute {
description: "User-visible label",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("srclang", StaticAttribute {
description: "Language of the text track",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
),
("u", StaticElementMeta {
tag_name: "u"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("ul", StaticElementMeta {
tag_name: "ul"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
"li",
"script",
"template"])
}
),
("var", StaticElementMeta {
tag_name: "var"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-autocomplete", StaticAttribute {
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-checked", StaticAttribute {
description: "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-colcount", StaticAttribute {
description: "Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.",
ty: StaticAttributeType::Integer}
),
("aria-colindex", StaticAttribute {
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colindextext, aria-colcount, and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-colindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-colindex. See related aria-rowindextext.",
ty: StaticAttributeType::KString}
),
("aria-colspan", StaticAttribute {
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-level", StaticAttribute {
description: "Defines the hierarchical level of an element within a structure.",
ty: StaticAttributeType::Integer}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-modal", StaticAttribute {
description: "Indicates whether an element is modal when displayed.",
ty: StaticAttributeType::Bool}
),
("aria-multiline", StaticAttribute {
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
ty: StaticAttributeType::Bool}
),
("aria-multiselectable", StaticAttribute {
description: "Indicates that the user can select more than one item from the current selectable descendants.",
ty: StaticAttributeType::Bool}
),
("aria-orientation", StaticAttribute {
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-placeholder", StaticAttribute {
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.",
ty: StaticAttributeType::KString}
),
("aria-posinset", StaticAttribute {
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.",
ty: StaticAttributeType::Integer}
),
("aria-pressed", StaticAttribute {
description: "Indicates the current \"pressed\" state of toggle buttons. See related aria-checked and aria-selected.",
ty: StaticAttributeType::KString}
),
("aria-readonly", StaticAttribute {
description: " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-required", StaticAttribute {
description: "Indicates that user input is required on the element before a form can be submitted.",
ty: StaticAttributeType::Bool}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("aria-rowcount", StaticAttribute {
description: "Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.",
ty: StaticAttributeType::Integer}
),
("aria-rowindex", StaticAttribute {
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowindextext, aria-rowcount, and aria-rowspan.",
ty: StaticAttributeType::Integer}
),
("aria-rowindextext", StaticAttribute {
description: "Defines a human readable text alternative of aria-rowindex. See related aria-colindextext.",
ty: StaticAttributeType::KString}
),
("aria-rowspan", StaticAttribute {
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.",
ty: StaticAttributeType::Integer}
),
("aria-selected", StaticAttribute {
description: "Indicates the current \"selected\" state of various widgets. See related aria-checked and aria-pressed.",
ty: StaticAttributeType::Bool}
),
("aria-setsize", StaticAttribute {
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.",
ty: StaticAttributeType::Integer}
),
("aria-sort", StaticAttribute {
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
ty: StaticAttributeType::KString}
),
("aria-valuemax", StaticAttribute {
description: "Defines the maximum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuemin", StaticAttribute {
description: "Defines the minimum allowed value for a range widget.",
ty: StaticAttributeType::Float}
),
("aria-valuenow", StaticAttribute {
description: "Defines the current value for a range widget. See related aria-valuetext.",
ty: StaticAttributeType::Float}
),
("aria-valuetext", StaticAttribute {
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"link",
"map",
"mark",
"meta",
"meter",
"noscript",
"object",
"output",
"picture",
"progress",
"q",
"ruby",
"s",
"samp",
"script",
"select",
"slot",
"small",
"span",
"strong",
"sub",
"sup",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr"])
}
),
("video", StaticElementMeta {
tag_name: "video"
,
has_global_attributes: true
,
has_closing_tag: true
,
attributes: StaticMap(&[
("aria-activedescendant", StaticAttribute {
description: "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.",
ty: StaticAttributeType::KString}
),
("aria-atomic", StaticAttribute {
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
ty: StaticAttributeType::Bool}
),
("aria-braillelabel", StaticAttribute {
description: "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.",
ty: StaticAttributeType::KString}
),
("aria-brailleroledescription", StaticAttribute {
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.",
ty: StaticAttributeType::KString}
),
("aria-busy", StaticAttribute {
description: "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.",
ty: StaticAttributeType::Bool}
),
("aria-controls", StaticAttribute {
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.",
ty: StaticAttributeType::KString}
),
("aria-current", StaticAttribute {
description: "Indicates the element that represents the current item within a container or set of related elements.",
ty: StaticAttributeType::KString}
),
("aria-describedby", StaticAttribute {
description: "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.",
ty: StaticAttributeType::KString}
),
("aria-description", StaticAttribute {
description: "Defines a string value that describes or annotates the current element. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-details", StaticAttribute {
description: "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-disabled", StaticAttribute {
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.",
ty: StaticAttributeType::Bool}
),
("aria-dropeffect", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.",
ty: StaticAttributeType::KString}
),
("aria-errormessage", StaticAttribute {
description: "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-expanded", StaticAttribute {
description: "Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.",
ty: StaticAttributeType::Bool}
),
("aria-flowto", StaticAttribute {
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.",
ty: StaticAttributeType::KString}
),
("aria-grabbed", StaticAttribute {
description: "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.",
ty: StaticAttributeType::Bool}
),
("aria-haspopup", StaticAttribute {
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
ty: StaticAttributeType::KString}
),
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("aria-invalid", StaticAttribute {
description: "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.",
ty: StaticAttributeType::KString}
),
("aria-keyshortcuts", StaticAttribute {
description: "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.",
ty: StaticAttributeType::KString}
),
("aria-label", StaticAttribute {
description: "Defines a string value that labels the current element. See related aria-labelledby.",
ty: StaticAttributeType::KString}
),
("aria-labelledby", StaticAttribute {
description: "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.",
ty: StaticAttributeType::KString}
),
("aria-live", StaticAttribute {
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
ty: StaticAttributeType::KString}
),
("aria-owns", StaticAttribute {
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.",
ty: StaticAttributeType::KString}
),
("aria-relevant", StaticAttribute {
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.",
ty: StaticAttributeType::KString}
),
("aria-roledescription", StaticAttribute {
description: "Defines a human-readable, author-localized description for the role of an element.",
ty: StaticAttributeType::KString}
),
("autoplay", StaticAttribute {
description: "Hint that the media resource can be started automatically when the page is loaded",
ty: StaticAttributeType::KString}
),
("controls", StaticAttribute {
description: "Show user agent controls",
ty: StaticAttributeType::KString}
),
("crossorigin", StaticAttribute {
description: "How the element handles crossorigin requests",
ty: StaticAttributeType::KString}
),
("height", StaticAttribute {
description: "Vertical dimension",
ty: StaticAttributeType::Integer}
),
("loop", StaticAttribute {
description: "Whether to loop the media resource",
ty: StaticAttributeType::KString}
),
("muted", StaticAttribute {
description: "Whether to mute the media resource by default",
ty: StaticAttributeType::KString}
),
("playsinline", StaticAttribute {
description: "Encourage the user agent to display video content within the element's playback area",
ty: StaticAttributeType::Bool}
),
("poster", StaticAttribute {
description: "Poster frame to show prior to video playback",
ty: StaticAttributeType::KString}
),
("preload", StaticAttribute {
description: "Hints how much buffering the media resource will likely need",
ty: StaticAttributeType::KString}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
),
("src", StaticAttribute {
description: "Address of the resource",
ty: StaticAttributeType::KString}
),
("width", StaticAttribute {
description: "Horizontal dimension",
ty: StaticAttributeType::Integer}
)])
,
allows_child_text: true
,
child_elements: StaticSet(&[
"a",
"abbr",
"address",
"area",
"article",
"aside",
"audio",
"b",
"base",
"bdi",
"bdo",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"cite",
"code",
"col",
"colgroup",
"data",
"datalist",
"dd",
"del",
"details",
"dfn",
"dialog",
"div",
"dl",
"dt",
"em",
"embed",
"fieldset",
"figcaption",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"link",
"main",
"map",
"mark",
"menu",
"meta",
"meter",
"nav",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"script",
"search",
"section",
"select",
"slot",
"small",
"source",
"span",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"title",
"tr",
"track",
"u",
"ul",
"var",
"video",
"wbr"])
}
),
("wbr", StaticElementMeta {
tag_name: "wbr"
,
has_global_attributes: true
,
has_closing_tag: false
,
attributes: StaticMap(&[
("aria-hidden", StaticAttribute {
description: "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.",
ty: StaticAttributeType::Bool}
),
("role", StaticAttribute {
description: "Describes the role(s) the current element plays in the context of the document.",
ty: StaticAttributeType::KString}
)])
,
allows_child_text: false
,
child_elements: StaticSet(&[
])
}
)])
}
;