[Koha-bugs] [Bug 28903] Tab key and drop-down menu in item module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 26 15:11:14 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28903

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
If I understand correctly, this is the difference between how an HTML <select>
behaves and how a Select2 dropdown (like on additem.pl) works:

HTML <select>:

1. Tab to <select>.
2. Use arrow key to highlight option.
3. Hit tab key -> Option is selected.
   * ENTER key also works.
4. Hit tab key -> Focus moves to next input.

Select2 dropdown:

1. Tab to field.
2. Hit ENTER.
3. Use arrow key to highlight option.
4. Hit ENTER -> Option is selected.
   * TAB key does NOT work to select an option.
5. Hit tab key -> Focus moves to next input.

If that's correct, it looks like the tab key difference can be changed by
setting a new default in select2.js: "selectOnClose" -> true

In terms of having the same number of interactions (key presses or clicks), it
would be nice if one didn't have to hit ENTER to activate a Select2 menu. I
don't think that's currently configurable.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list