| Summary: | Misleading title attribute "Remove all items" in Select2 fields | ||
|---|---|---|---|
| Product: | Koha | Reporter: | elina.uotila |
| Component: | Templates | Assignee: | Owen Leonard <oleonard> |
| Status: | Pushed to main --- | QA Contact: | Laura Escamilla <Laura.escamilla> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | jonathan.druart, Laura.escamilla, slavashishkin |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | String patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: |
Improvement: Updated Select2 title text for clarity
This patch updates the Select2 initialization script to improve accessibility and clarity. The title attribute on the “X” control (used to clear selections in Select2 dropdowns) now reads “Clear selections” instead of “Clear items,” eliminating ambiguity.
|
Version(s) released in: |
25.11.00
|
| Circulation function: | |||
| Attachments: |
Bug 40720: Misleading title attribute "Remove all items" in Select2 fields
Bug 40720: Misleading title attribute "Remove all items" in Select2 fields Bug 40720: Misleading title attribute "Remove all items" in Select2 fields Bug 40720: Misleading title attribute "Remove all items" in Select2 fields |
||
|
Description
elina.uotila
2025-08-28 12:48:09 UTC
Created attachment 188513 [details] [review] Bug 40720: Misleading title attribute "Remove all items" in Select2 fields This patch updates our Select2 initialization script to update the strings used as title attributes on the "X" control which appears in a Select2 dropdown when you've made a selection. The updated text reads "Clear selections" in order to eliminate the ambiguity of the word "items." To test, apply the patch and clear your browser cache. - Go to Catalog -> Item search. - Make one or more selections in any of the Select2 dropdowns (e.g. Home library, current library, item type, etc.). - An "X" should appear at the end of the field after you've made one or more selections. - Hover your mouse over the "X." The title which appears should read "Clear selections." Sponsored-by: Athens County Public Libraries Created attachment 188518 [details] [review] Bug 40720: Misleading title attribute "Remove all items" in Select2 fields This patch updates our Select2 initialization script to update the strings used as title attributes on the "X" control which appears in a Select2 dropdown when you've made a selection. The updated text reads "Clear selections" in order to eliminate the ambiguity of the word "items." To test, apply the patch and clear your browser cache. - Go to Catalog -> Item search. - Make one or more selections in any of the Select2 dropdowns (e.g. Home library, current library, item type, etc.). - An "X" should appear at the end of the field after you've made one or more selections. - Hover your mouse over the "X." The title which appears should read "Clear selections." Sponsored-by: Athens County Public Libraries Created attachment 188519 [details] [review] Bug 40720: Misleading title attribute "Remove all items" in Select2 fields This patch updates our Select2 initialization script to update the strings used as title attributes on the "X" control which appears in a Select2 dropdown when you've made a selection. The updated text reads "Clear selections" in order to eliminate the ambiguity of the word "items." To test, apply the patch and clear your browser cache. - Go to Catalog -> Item search. - Make one or more selections in any of the Select2 dropdowns (e.g. Home library, current library, item type, etc.). - An "X" should appear at the end of the field after you've made one or more selections. - Hover your mouse over the "X." The title which appears should read "Clear selections." Sponsored-by: Athens County Public Libraries Signed-off-by: Slava Shishkin <slavashishkin@gmail.com> Created attachment 188653 [details] [review] Bug 40720: Misleading title attribute "Remove all items" in Select2 fields This patch updates our Select2 initialization script to update the strings used as title attributes on the "X" control which appears in a Select2 dropdown when you've made a selection. The updated text reads "Clear selections" in order to eliminate the ambiguity of the word "items." To test, apply the patch and clear your browser cache. - Go to Catalog -> Item search. - Make one or more selections in any of the Select2 dropdowns (e.g. Home library, current library, item type, etc.). - An "X" should appear at the end of the field after you've made one or more selections. - Hover your mouse over the "X." The title which appears should read "Clear selections." Sponsored-by: Athens County Public Libraries Signed-off-by: Slava Shishkin <slavashishkin@gmail.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Nice work everyone! Pushed to main for 25.11 Owen's authorship has been dropped here (?) |