aria-autocomplete
TokenDescribes what kind of autocomplete an input offers: 'inline' completes the text in place, 'list' shows suggestions in a popup, 'both' does both, and 'none' offers none. It's set on the textbox of a combobox so screen readers can tell users that suggestions exist. It describes the prediction model, not whether suggestions are showing right now.
Values
- none (default)
- No suggestion is offered.
- inline
- The input is completed inline as the user types.
- list
- A collection of suggestions is presented in a popup.
- both
- Both an inline completion and a list of suggestions.
Used on
<input><textarea>
Example
aria-autocomplete="…"
<input role="combobox" aria-autocomplete="list"
aria-controls="list" aria-expanded="true" />References