Autocomplete
Definition
UI function that offers matching completions or selectable suggestions during an input.
Upon autocomplete, an interface adds text entered inline or displays a suggestion list. `aria-autocomplete` describes this behavior for assistive technology, but does not implement it. The HTML attribute autocomplete, on the other hand, identifies input purposes and supports browser autofill.
Simply explained
You start typing and get matching sequels that you can choose or adopt.
Why it matters in practice
Can make search and forms faster and more accessible. Utility arises only with correct keyboard operation, understandable labels and controllable focus.
Example from business
Example scenario: Searching for a spare parts platform suggests product names after a few characters; arrow keys move the selection, Enter takes over and Escape closes the list.
Limits and pitfalls
- Mixing UI suggestions with browser autofill or AI code completion; providing mouse control only; rendering status and active option inaccessible; using incorrect ‘autocomplete’ values; storing sensitive data unasked.
Origin & history
Web standards today distinguish suggestion behavior via WAI-ARIA from the machine-readable input intent that supports browser autofill.
Use in mid-sized companies
- Test your use in search, address and contact forms against real tasks; check hit quality, data protection, keyboard flow and screen reader output together.
Frequently asked questions
Is aria-autocomplete the function itself?
No. Is browser autofill the same as a suggestion list? No. Must every search offer suggestions? No, only if they reliably and usefully assist.
Sources
- WAI-ARIA 1.2 – aria-autocomplete · W3C, WAI-ARIA 1.2 – aria-autocomplete
- WCAG 2.2 – Eingabezweck identifizieren · W3C, WCAG 2.2 – Eingabezweck identifizieren
Source verification: 10/09/2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: