Bugzilla – Attachment 183689 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: discharge page
Bug-40283-discharge-page.patch (text/plain), 2.39 KB, created by
Owen Leonard
on 2025-07-02 12:40:39 UTC
(
hide
)
Description:
Bug 40283: discharge page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-07-02 12:40:39 UTC
Size:
2.39 KB
patch
obsolete
>From a9f2e884b2b52df707531c96648b9c8b42df38a7 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Fri, 13 Jun 2025 16:25:47 +0200 >Subject: [PATCH] Bug 40283: discharge page > >This patch add role="status" or role="alert" to the message tag of the >opac-discharge page. > >Test plan: > >1- Enable the system preference: UseDischarge >2- Log in to a patron account with items check out, or make checkout >3- Go to "Ask for discharge", there should be a message: "You cannot be > discharged because: ..." Inspect the html code, and notice that there > is a role="alert" in the message tag. >4- Check in all the items or log in to a new patron account without > items checked out, and click on "Ask for discharge". You should see > the button "Ask for a discharge", click on it, and a message should > appear. Inspect in the html if there is a role="status" in the > message tag. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >index d709408ca62..13134983c09 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >@@ -37,7 +37,7 @@ > [% END %] > > [% IF success %] >- <p>Your discharge request has been sent. Your discharge will be available on this page within a few days.</p> >+ <p role="status">Your discharge request has been sent. Your discharge will be available on this page within a few days.</p> > [% ELSIF available %] > <p><a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></p> > [% ELSIF pending %] >@@ -59,7 +59,7 @@ > [% IF failure %] > <p> There was an error during the discharge process </p> > [% END %] >- <div class="alert alert-info" >+ <div class="alert alert-info" role="alert" > >You cannot be discharged because: > <ul> > [% IF discharge_problems.checkouts %] >-- >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