{ "tag_name": "textarea", "struct_name": "TextArea", "submodule_name": "forms", "mdn_link": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea", "has_global_attributes": true, "has_closing_tag": true, "attributes": [ { "name": "autocomplete", "description": "Hint for form autofill feature", "field_name": "autocomplete", "ty": "KString" }, { "name": "cols", "description": "Maximum number of characters per line", "field_name": "cols", "ty": "Integer" }, { "name": "dirname", "description": "Name of form control to use for sending the element's directionality in form submission", "field_name": "dir_name", "ty": "KString" }, { "name": "disabled", "description": "Whether the form control is disabled", "field_name": "disabled", "ty": "Bool" }, { "name": "form", "description": "Associates the element with a form element", "field_name": "form", "ty": "KString" }, { "name": "maxlength", "description": "Maximum length of value", "field_name": "max_length", "ty": "Integer" }, { "name": "minlength", "description": "Minimum length of value", "field_name": "min_length", "ty": "Integer" }, { "name": "name", "description": "Name of the element to use for form submission and in the form.elements API", "field_name": "name", "ty": "KString" }, { "name": "placeholder", "description": "User-visible label to be placed within the form control", "field_name": "placeholder", "ty": "KString" }, { "name": "readonly", "description": "Whether to allow the value to be edited by the user", "field_name": "read_only", "ty": "Bool" }, { "name": "required", "description": "Whether the control is required for form submission", "field_name": "required", "ty": "Bool" }, { "name": "rows", "description": "Number of lines to show", "field_name": "rows", "ty": "Integer" }, { "name": "wrap", "description": "How the value of the form control is to be wrapped for form submission", "field_name": "wrap", "ty": "KString" }, { "name": "role", "description": "Describes the role(s) the current element plays in the context of the document.", "field_name": "role", "ty": "KString" }, { "name": "aria-activedescendant", "description": "Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.", "field_name": "aria_active_descendant_element", "ty": "KString" }, { "name": "aria-atomic", "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.", "field_name": "aria_atomic", "ty": "Bool" }, { "name": "aria-autocomplete", "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.", "field_name": "aria_auto_complete", "ty": "KString" }, { "name": "aria-braillelabel", "description": "Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.", "field_name": "aria_braille_label", "ty": "KString" }, { "name": "aria-brailleroledescription", "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.", "field_name": "aria_braille_role_description", "ty": "KString" }, { "name": "aria-busy", "description": "Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.", "field_name": "aria_busy", "ty": "Bool" }, { "name": "aria-controls", "description": "Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.", "field_name": "aria_controls_elements", "ty": "KString" }, { "name": "aria-current", "description": "Indicates the element that represents the current item within a container or set of related elements.", "field_name": "aria_current", "ty": "KString" }, { "name": "aria-describedby", "description": "Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.", "field_name": "aria_described_by_elements", "ty": "KString" }, { "name": "aria-description", "description": "Defines a string value that describes or annotates the current element. See related aria-describedby.", "field_name": "aria_description", "ty": "KString" }, { "name": "aria-details", "description": "Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.", "field_name": "aria_details_elements", "ty": "KString" }, { "name": "aria-disabled", "description": "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.", "field_name": "aria_disabled", "ty": "Bool" }, { "name": "aria-dropeffect", "description": "[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.", "field_name": "aria_drop_effect", "ty": "KString" }, { "name": "aria-errormessage", "description": "Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.", "field_name": "aria_error_message_elements", "ty": "KString" }, { "name": "aria-flowto", "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.", "field_name": "aria_flow_to_elements", "ty": "KString" }, { "name": "aria-grabbed", "description": "[Deprecated in ARIA 1.1] Indicates an element's \"grabbed\" state in a drag-and-drop operation.", "field_name": "aria_grabbed", "ty": "Bool" }, { "name": "aria-haspopup", "description": "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.", "field_name": "aria_has_popup", "ty": "KString" }, { "name": "aria-hidden", "description": "Indicates whether the element is exposed to an accessibility API. See related aria-disabled.", "field_name": "aria_hidden", "ty": "Bool" }, { "name": "aria-invalid", "description": "Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.", "field_name": "aria_invalid", "ty": "KString" }, { "name": "aria-keyshortcuts", "description": "Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.", "field_name": "aria_key_shortcuts", "ty": "KString" }, { "name": "aria-label", "description": "Defines a string value that labels the current element. See related aria-labelledby.", "field_name": "aria_label", "ty": "KString" }, { "name": "aria-labelledby", "description": "Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.", "field_name": "aria_labelled_by_elements", "ty": "KString" }, { "name": "aria-live", "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.", "field_name": "aria_live", "ty": "KString" }, { "name": "aria-multiline", "description": "Indicates whether a text box accepts multiple lines of input or only a single line.", "field_name": "aria_multi_line", "ty": "Bool" }, { "name": "aria-owns", "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.", "field_name": "aria_owns_elements", "ty": "KString" }, { "name": "aria-placeholder", "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.", "field_name": "aria_placeholder", "ty": "KString" }, { "name": "aria-readonly", "description": " Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.", "field_name": "aria_read_only", "ty": "Bool" }, { "name": "aria-relevant", "description": "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.", "field_name": "aria_relevant", "ty": "KString" }, { "name": "aria-required", "description": "Indicates that user input is required on the element before a form can be submitted.", "field_name": "aria_required", "ty": "Bool" }, { "name": "aria-roledescription", "description": "Defines a human-readable, author-localized description for the role of an element.", "field_name": "aria_role_description", "ty": "KString" } ], "dom_interface": "HTMLTextAreaElement", "content_categories": [ "Flow", "Phrasing", "Interactive", "Palpable" ], "permitted_child_elements": [] }