Bugzilla – Attachment 154266 Details for
Bug 27378
Enable compliance with EU Cookie Legislation via cookie consent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27378: Fix accessibility issues
Bug-27378-Fix-accessibility-issues.patch (text/plain), 5.88 KB, created by
Katrin Fischer
on 2023-08-04 13:08:49 UTC
(
hide
)
Description:
Bug 27378: Fix accessibility issues
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-08-04 13:08:49 UTC
Size:
5.88 KB
patch
obsolete
>From 26d2658d89b313137b1dc2aa0134691d476bdf64 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 19 May 2023 13:46:24 +0000 >Subject: [PATCH] Bug 27378: Fix accessibility issues > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > .../intranet-tmpl/prog/css/src/staff-global.scss | 11 +++++++++++ > .../prog/en/includes/intranet-bottom.inc | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 3 ++- > .../opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- > .../bootstrap/en/modules/opac-patron-consent.tt | 2 +- > 5 files changed, 18 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 4c05c3862c..9175a2574b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -2948,6 +2948,17 @@ button, > } > } > >+ &.btn-info { >+ color: #fff; >+ background-color: #194EA3; >+ border-color: #0B439D; >+ } >+ >+ &.btn-success { >+ background-color: #419641; >+ border-color: #398339; >+ } >+ > &.btn-danger { > background-color: #CC3333; > border-color: #9B2323; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >index f6f42a7021..cf7fb3150d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >@@ -109,7 +109,7 @@ > [% FOREACH consent IN consents %] > <div class="consentModalItem"> > <div class="consentItemCheckbox"> >- <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]"> >+ <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]" aria-label="Consent to cookie"> > </div> > <div class="consentItemMeta"> > <div class="consentItemName">[% consent.name | html %]</div> >@@ -124,7 +124,7 @@ > <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button> > [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %] > <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button> >- <button type="button" class="btn btn-warning" id="consentAcceptSelected">Accept selected non-essential cookies</button> >+ <button type="button" class="btn btn-success" id="consentAcceptSelected">Accept selected non-essential cookies</button> > [% END %] > </div> > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 6c42a256b1..79f596fb48 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -2927,8 +2927,9 @@ $star-selected: #EDB867; > margin-top: 10px; > } > >-#patronconsents h5 { >+#patronconsents h2 { > margin-top: 30px; >+ font-size: 1.1rem; > } > > @import "responsive"; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 33c75fa68d..fe51aa9c7c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -460,7 +460,7 @@ > <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button> > [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %] > <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button> >- <button type="button" class="btn btn-info" id="consentMoreInfo">More information</button> >+ <button type="button" class="btn btn-info" id="consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button> > [% END %] > </div> > </div> <!-- /#cookieConsentBar --> >@@ -482,7 +482,7 @@ > [% FOREACH consent IN consents %] > <div class="consentModalItem"> > <div class="consentItemCheckbox"> >- <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]"> >+ <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]" aria-label="Consent to cookie"> > </div> > <div class="consentItemMeta"> > <div class="consentItemName">[% consent.name | html %]</div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >index 896e9df4d2..94f4f2fb67 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >@@ -71,7 +71,7 @@ > </form> > > [% IF Koha.Preference('CookieConsent') %] >- <h5>Cookie consents</h5> >+ <h2>Cookie consents</h2> > <button id="viewCookieConsents" type="button" class="btn btn-success">View your cookie consents</button> > [% END %] > >-- >2.30.2
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 27378
:
115544
|
115545
|
115546
|
115547
|
115548
|
115756
|
116397
|
116398
|
116399
|
116400
|
116401
|
116402
|
116403
|
116416
|
116417
|
116418
|
116419
|
116420
|
116421
|
116422
|
116423
|
116978
|
116979
|
116980
|
116981
|
116982
|
116983
|
116984
|
116985
|
116986
|
121728
|
121729
|
121730
|
121731
|
121732
|
121733
|
121734
|
121735
|
121995
|
121996
|
121997
|
121998
|
121999
|
122000
|
122001
|
122002
|
122635
|
122636
|
122637
|
122638
|
122639
|
122640
|
122641
|
122642
|
124957
|
124958
|
124959
|
124960
|
124961
|
124962
|
124963
|
124964
|
124965
|
130072
|
130073
|
130074
|
130075
|
130076
|
130077
|
130078
|
130079
|
130080
|
135309
|
135310
|
135311
|
135312
|
135313
|
135314
|
135315
|
135316
|
135317
|
135318
|
151735
|
151736
|
151737
|
151738
|
151739
|
151740
|
151741
|
151742
|
151743
|
151744
|
151745
|
151746
|
151747
|
151748
|
151749
|
151750
|
151751
|
151752
|
151753
|
151826
|
151827
|
151828
|
151829
|
151830
|
151831
|
151832
|
151833
|
151834
|
151835
|
151836
|
151837
|
151838
|
151839
|
151840
|
151841
|
151842
|
151843
|
151844
|
153326
|
153327
|
153328
|
153329
|
153330
|
153331
|
153332
|
153333
|
153334
|
153335
|
153336
|
154015
|
154016
|
154017
|
154018
|
154019
|
154020
|
154021
|
154022
|
154023
|
154024
|
154025
|
154093
|
154264
|
154265
| 154266 |
154267
|
154268
|
154269
|
154270
|
154271
|
154272
|
154273
|
154274
|
154275
|
154276