Bugzilla – Attachment 183692 Details for
Bug 40283
Accessibility of the status message in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40283: Consent page.
Bug-40283-Consent-page.patch (text/plain), 2.20 KB, created by
Owen Leonard
on 2025-07-02 12:40:47 UTC
(
hide
)
Description:
Bug 40283: Consent page.
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-07-02 12:40:47 UTC
Size:
2.20 KB
patch
obsolete
>From 58d368a8adee3df1e01806cc9b7b3496ccd5ac70 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Mon, 16 Jun 2025 16:55:27 +0200 >Subject: [PATCH] Bug 40283: Consent page. > >This patch add role='status' to the message tag of the consent page >(opac-patron-page) > >Test plan: > >1. Enable the system preference: PrivacyPolicyConsent >2. Log in to a patron account. Go to the 'Consent' page, Change your > consent twice. If you save Yes, the message should be: "Your consent > was registered on 'date'" and if you save no: "We registered that you > did not consent on 'date'". Inscpect each time the html code and > notice that there is a role='status' in the message tag. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 41e844034af..1f3cd7af529 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 >@@ -67,9 +67,9 @@ > <input type="radio" name="check_[% consent_type | html %]" value="0" /> No > [% END %] > [% IF consent.given_on %] >- <p class="consent_info"><strong>Your consent was registered on [% consent.given_on | html %].</strong></p> >+ <p class="consent_info" role="status"><strong>Your consent was registered on [% consent.given_on | html %].</strong></p> > [% ELSIF consent.refused_on %] >- <p class="dissent_info"><strong>We registered that you did not consent on [% consent.refused_on | html %].</strong></p> >+ <p class="dissent_info" role="status"><strong>We registered that you did not consent on [% consent.refused_on | html %].</strong></p> > [% END %] > </fieldset> > [% END %] >-- >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 40283
:
183665
|
183666
|
183667
|
183668
|
183669
|
183670
|
183671
|
183672
|
183673
|
183674
|
183683
|
183684
|
183685
|
183686
|
183689
|
183690
|
183691
| 183692 |
183693
|
183694
|
183695
|
183696
|
183697
|
183698
|
183699
|
183700
|
183701