-
govuk-country-and-territory-autocomplete
should remain its own repo as much of the logic is specific to country data (more specific notes made about the workings of that repo). -
We should make it easy for depts to consume
accessible-autocomplete
while adding their own data / logic to it. -
We should add the following (in this order of priority?) to
accessible-autocomplete
:
- Sorting (what would be an example of this?)
- Synonyms (for instance on typing "gb", render "United Kingdom (GB)")
- Typos (replace mistyped word with correct word)
- Weighting (biased results)
-
Possibly controversial: There is enough evidence to recommend doing the above without doing further user research on user requirements.
-
There is some prototype code written for sorting and weighting results in
govuk-country-and-territory-autocomplete
. It should be rewritten but could be useful for initial investigation. -
This is a useful resource: https://baymard.com/blog/autocomplete-design