aria-autocomplete attribute | ariaAutocomplete property

Indicates whether user input completion suggestions are provided.

Syntax


<element aria-autocomplete="inline|list|both|none" ... />

Property values

Type: DOMString

One of the following values:

ValueCondition
inline

The system provides text after the caret as a suggestion for how to complete the field.

list

A list of choices appears from which the user can choose, but the edit box retains focus.

both

A list of choices appears and the currently selected suggestion also appears inline.

none

No input completion suggestions are provided.

 

Standards information

Remarks

Used in Roles
combobox
textbox

 

For a textbox with the aria-autocomplete attribute set to either inline or both, authors should ensure that any auto-completed text is selected, so that the user can type over it. To indicate that a popup containing choices appears, combine with The aria-haspopup attribute.

See also

Accessible Rich Internet Applications (ARIA)
aria-haspopup

 

 

Show:
© 2014 Microsoft. All rights reserved.