Bug 40097 - Text elements on the OPAC user pages don’t have sufficient color contrast.
Summary: Text elements on the OPAC user pages don’t have sufficient color contrast.
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 - low enhancement
Assignee: Nina Martinez
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-09 15:08 UTC by Nina Martinez
Modified: 2025-06-23 11:42 UTC (History)
3 users (show)

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


Attachments
Bug 40097: Replace the color of elements with low constrast. (1.86 KB, patch)
2025-06-23 09:11 UTC, Nina Martinez
Details | Diff | Splinter Review
Bug 40097: Replace the color of elements with low constrast. (1.93 KB, patch)
2025-06-23 11:42 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nina Martinez 2025-06-09 15:08:45 UTC
There are some elements on the OPAC user pages that don’t have sufficient color contrast. This issue affects elements on pages such as Checkout History, Holds History, and Interlibrary Loan Requests. This issue invalidates WCAG 1.4.3: The visual presentation of text and images of text has a contrast ratio of at least 4.5:1. 
We can maybe improve this by increasing the contrast between the text color and the background

WCAG: 
https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#contrast-minimum

WCAG Contrast Checker Firefox Extension (helps check color contrast): 
https://addons.mozilla.org/fr/firefox/addon/wcag-contrast-checker/
Comment 1 Nina Martinez 2025-06-23 09:11:21 UTC
Created attachment 183412 [details] [review]
Bug 40097: Replace the color of elements with low constrast.

Test plan:

1. Enable the system preferences: ILLModule, OPACHoldsHistory, OPACHoldRequests.
2. Apply the patch and log in to a patron account.
3. Go to the "Interlibrary loan requests". Look at the "Show 'select number' entries" and check the color contrast, which should be greater than 4.5.
4. Search for a record, choose "Place hold", and check the color contrast. The "show more options" should have a color contrast greater than 4.5.
5. Now go to the Holds history, you need at least one record on hold. Look at the "Showing 1 to ... of ... entries" and check the color contrast, which should be greater than 4.5.
Comment 2 Owen Leonard 2025-06-23 11:42:36 UTC
Created attachment 183415 [details] [review]
Bug 40097: Replace the color of elements with low constrast.

Test plan:

1. Enable the system preferences: ILLModule, OPACHoldsHistory,
   OPACHoldRequests.
2. Apply the patch and log in to a patron account.
3. Go to the "Interlibrary loan requests". Look at the "Show 'select
   number' entries" and check the color contrast, which should be
   greater than 4.5.
4. Search for a record, choose "Place hold", and check the color
   contrast. The "show more options" should have a color contrast
   greater than 4.5.
5. Now go to the Holds history, you need at least one record on hold.
   Look at the "Showing 1 to ... of ... entries" and check the color
   contrast, which should be greater than 4.5.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>