Bugzilla – Attachment 183103 Details for
Bug 39982
Accessibility: The 'Browse results' menu does not have sufficient color contrast.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39982: Change the color of the Browse results list elements.
Bug-39982-Change-the-color-of-the-Browse-results-l.patch (text/plain), 2.05 KB, created by
David Flater
on 2025-06-09 20:21:44 UTC
(
hide
)
Description:
Bug 39982: Change the color of the Browse results list elements.
Filename:
MIME Type:
Creator:
David Flater
Created:
2025-06-09 20:21:44 UTC
Size:
2.05 KB
patch
obsolete
>From 51b06408f7278635008a94b6e196930fbadd2c43 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Fri, 23 May 2025 15:59:58 +0200 >Subject: [PATCH] Bug 39982: Change the color of the Browse results list > elements. > >Test plan: > >1- Apply the patch and enable the folowing system preference: OpacBrowseResults >2- Make a search, choose a record, and expand the 'Browse results' menu. >3- Check the color contrast of these elements: close buttons, results number navigation, record name link and author name. (you can use a color checker like WCAG Color contrast checker) >4- If all the color contrast between the elements and the background are greater than or equal to 4.5 the test succeeds ! > >Signed-off-by: David Flater <flaterdavid@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 5f182f644a..420bd4edb7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -1286,6 +1286,7 @@ fieldset { > } > > .close_pagination { >+ color: #006699; > display: none; > } > >@@ -1306,22 +1307,25 @@ fieldset { > > li { > border-top: 1px solid #DDDDDD; >- color: #999; >+ color: #666; > font-size: 90%; > list-style: none; > padding: 4px; > > &.highlight { >+ color: #616161; > background-color: #DDDDDD; >+ a { >+ color: #006699; >+ } > } >- > a { > padding-left: 0; > } > } > > .li_pag_index { >- color: #636363; >+ color: #616161; > font-size: 90%; > font-weight: bold; > padding-right: 10px; >@@ -1408,7 +1412,7 @@ fieldset { > text-align: center; > > a { >- background-color: #999999; >+ background-color: #767676; > color: #FFFFFF; > display: block; > font-weight: normal; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39982
:
182784
|
183102
| 183103