--- url: "https://www.w3.org/WAI/WCAG22/Techniques/failures/F107" titulek: "F107: Failure of Success Criterion 1.3.5 due to incorrect autocomplete attribute values | WAI | W3C" h1: "Technique F107:Failure of Success Criterion 1.3.5 due to incorrect autocomplete attribute values" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 04:43:49" znaku: 2724 slov: 371 kodovani: "utf-8" sha256: "8072911e3c397b398e3ea41e8abf459a9422d57cefa9abe2896aa8c9c3e682e2" --- # Technique F107:Failure of Success Criterion 1.3.5 due to incorrect `autocomplete` attribute values ## About this Technique This technique relates to [1.3.5 Identify Input Purpose](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose) (**Failure**). This failure applies to *form inputs* created in HTML which collect information about the user of the form. Failure techniques show examples of how content can fail particular WCAG success criteria. However, content may still satisfy those criteria if it includes equivalent/alternative content or functionality that **does** meet the normative requirements. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about). ## Description The purpose of this technique is to identify a failure condition where form inputs do not have the correct `autocomplete` attribute values for inputs that request information about the user of the form. Success Criterion 1.3.5 Identify Input Purpose uses a fixed list of tokens in [Input Purposes for user interface components](/TR/WCAG/#input-purposes) (based on the HTML 5.2 `autocomplete` attribute's fixed list of token values) because the programmatic association of specified token values (metadata) allows for other machine processing, such as expressing the input label in different modalities. Another important part of this success criterion is that the token values are associated with inputs that are **scoped directly to the primary end user**. ## Examples ### Example 1: Incorrect attribute An online form used to collect the user's name and birthday which uses incorrect `autocomplete` attributes. The correct attribute value for the first control is `name`, and for the second control the made-up attribute value `birthday` was used instead of `bday`. ```

Your details:

``` ## Related Resources *No endorsement implied.* - [WCAG - Input Purposes for User Interface Components](/TR/WCAG/#input-purposes) . - [HTML - Autofilling form controls: the `autocomplete` attribute](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls:-the-autocomplete-attribute) . ## Tests ### Procedure For each form field which collects information about the user of the form: 1. Check that the form field has an `autocomplete` attribute and value pair that does not match the purpose of the input. 2. Check that the input purpose is not communicated programmatically through any other method. ### Expected Results - If checks #1 and #2 are true, then the failure condition applies, and the content fails the Success Criterion. Back to Top