diff --git a/files/en-us/web/api/htmlinputelement/index.md b/files/en-us/web/api/htmlinputelement/index.md index cdbec43f7188db8..b7f9a09ce60db0f 100644 --- a/files/en-us/web/api/htmlinputelement/index.md +++ b/files/en-us/web/api/htmlinputelement/index.md @@ -162,6 +162,10 @@ Some properties only apply to input element types that support the corresponding - : A string that represents the element's [`accept`](/en-US/docs/Web/HTML/Element/input#accept) attribute, containing comma-separated list of file types that can be selected. +- {{domxref("HTMLInputElement.capture", "capture")}} + + - : A string that represents the element's [`capture`](/en-US/docs/Web/HTML/Element/input#capture) attribute, indicating the media capture input method in file upload controls. + - {{domxref("HTMLInputElement.files", "files")}} - : A {{domxref("FileList")}} that represents the files selected for upload. @@ -179,10 +183,6 @@ Some properties only apply to input element types that support the corresponding - : A string that represents the element's [`autocomplete`](/en-US/docs/Web/HTML/Element/input#autocomplete) attribute, indicating whether the value of the control can be automatically completed by the browser. -- {{domxref("HTMLInputElement.capture", "capture")}} - - - : A string that represents the element's [`capture`](/en-US/docs/Web/HTML/Element/input#capture) attribute, indicating the media capture input method in file upload controls. - - {{domxref("HTMLInputElement.max", "max")}} - : A string that represents the element's [`max`](/en-US/docs/Web/HTML/Element/input#max) attribute, containing the maximum (numeric or date-time) value for this item, which must not be less than its minimum ([`min`](/en-US/docs/Web/HTML/Element/input#min) attribute) value. diff --git a/files/en-us/web/api/htmltextareaelement/autocomplete/index.md b/files/en-us/web/api/htmltextareaelement/autocomplete/index.md index b51975c7ae49358..6245ffad6a4c78e 100644 --- a/files/en-us/web/api/htmltextareaelement/autocomplete/index.md +++ b/files/en-us/web/api/htmltextareaelement/autocomplete/index.md @@ -12,7 +12,7 @@ The **`autocomplete`** property of the {{DOMxRef("HTMLTextAreaElement")}} interf ## Value -A string that is `"on"`, `"off"`, or the empty string `""` if unspecified or set to an invalid value. +A string representing the value of the `autocomplete` attribute (`"on"`, `"off"`, or a [``](/en-US/docs/Web/HTML/Attributes/autocomplete#token_list_tokens)) or the empty string (`""`) if unspecified. ## Examples @@ -32,3 +32,6 @@ console.log(textArea.autocomplete); ## See also - {{HTMLElement("textarea")}} +- HTML [`autocomplete`](/en-US/docs/Web/HTML/Attributes/autocomplete) attribute +- ARIA [`aria-autocomplete`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-autocomplete) attribute +- [Turning off autocompletion](/en-US/docs/Web/Security/Practical_implementation_guides/Turning_off_form_autocompletion) diff --git a/files/en-us/web/html/element/textarea/index.md b/files/en-us/web/html/element/textarea/index.md index 0d9b66fa1a77cda..b806436b31cb98f 100644 --- a/files/en-us/web/html/element/textarea/index.md +++ b/files/en-us/web/html/element/textarea/index.md @@ -34,8 +34,9 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib - `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry. - `on`: The browser can automatically complete the value based on values that the user has entered during previous uses. + - [``](/en-US/docs/Web/HTML/Attributes/autocomplete#token_list_tokens): An ordered set of space-separated autofill detail tokens, optionally preceded by a sectioning token, a billing or shipping grouping token, and/or a token identifying the type of recipient. - If the `autocomplete` attribute is not specified on a `