Open
Description
The progressive enhancement approach already uses a very simple suggestion engine. It would be easier to use the autocomplete if it offered an API that was as simple as:
accessibleAutocomplete({
element: document.querySelector('#autocomplete-container'),
options: ['United Kingdom', 'United States']
})
And as a later feature, supporting (at a basic level):
- custom weighting
- synonyms / aliases (e.g. UK for United Kingdom)
- highlighting matched text
- unicode support (diacritics)
Some work on this can be based on the openregister-picker-engine.