Bug 34113 - Replace the use of jQueryUI autocomplete
Summary: Replace the use of jQueryUI autocomplete
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 29222
  Show dependency treegraph
 
Reported: 2023-06-23 14:36 UTC by Owen Leonard
Modified: 2024-08-11 17:53 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2023-06-23 14:36:06 UTC
As discussed in Bug 29222, jQueryUI autocomplete should be replaced. The last time I checked it was used in these places:

  - Checkout and patron header searches
  - Article request patron search
  - Course reserve instructor search
  - Holds patron search
  - UNIMARC 210c plugin
  - UNIMARC 225a plugin

Possible replacement candidate: https://tarekraafat.github.io/autoComplete.js/.
Comment 2 Jonathan Druart 2023-07-05 06:51:32 UTC
There is also https://iqbalfn.github.io/bootstrap-autocomplete/
Comment 3 Stephanie Leary 2024-08-11 17:53:36 UTC
The Bootstrap autocomplete components are generally not accessible. In accessibility circles, the Alphagov Autocomplete component (developed for the UK.gov design system) is considered the best.
https://alphagov.github.io/accessible-autocomplete/examples/

Adam Silver, who worked on that design system, has a variation on it that supports aliases (see the Demo link at the end):
https://adamsilver.io/blog/building-an-accessible-autocomplete-control/

These are the only two autocomplete components I've ever heard screen reader users describe as a good user experience. Both can be styled with Bootstrap classes.