Bugzilla – Attachment 164853 Details for
Bug 35511
Add visual indicators of patron edit form collapsible sections
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35511: (follow-up) Tweaks to CSS, adding aria-hidden to icons
Bug-35511-follow-up-Tweaks-to-CSS-adding-aria-hidd.patch (text/plain), 8.66 KB, created by
Owen Leonard
on 2024-04-12 15:11:16 UTC
(
hide
)
Description:
Bug 35511: (follow-up) Tweaks to CSS, adding aria-hidden to icons
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-04-12 15:11:16 UTC
Size:
8.66 KB
patch
obsolete
>From 6a9a70dc1a5127c9235982aeef0c11c96e9bb7e3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 12 Apr 2024 15:08:09 +0000 >Subject: [PATCH] Bug 35511: (follow-up) Tweaks to CSS, adding aria-hidden to > icons > >--- > .../prog/en/modules/members/memberentrygen.tt | 28 +++++++++++-------- > 1 file changed, 17 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 162496225b0..5cb3d307d21 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -29,6 +29,8 @@ > <style>[% FILTER collapse %] > fieldset legend { > border: 1px solid #FFF; >+ margin-left: -.5em; >+ margin-top: -.5em; > padding: .7em; > } > fieldset legend:hover { >@@ -42,6 +44,10 @@ fieldset legend i { > padding-right: .2rem; > } > >+fieldset legend.collapsed { >+ margin-bottom: -.5em; >+} >+ > legend.collapsed i.fa.fa-caret-down::before { > content: "\f0da"; > } >@@ -485,7 +491,7 @@ legend.collapsed i.fa.fa-caret-down::before { > <div id="memberentry_guarantor_anchor"> > <fieldset id="memberentry_guarantor" class="rows"> > <legend class="expanded" id="patron_guarantor_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Patron guarantor > </legend> > >@@ -650,7 +656,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS nocontactname && nocontactfirstname && norelationship %] > <fieldset class="rows" id="non_patron_guarantor"> > <legend class="expanded" id="non_patron_guarantor_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Non-patron guarantor > </legend> > <ol> >@@ -717,7 +723,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] > <fieldset class="rows" id="memberentry_contact"> > <legend class="expanded" id="contact_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Contact information > </legend> > <ol> >@@ -909,7 +915,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% SET autoMemberNum = Koha.Preference('autoMemberNum') %] > <fieldset class="rows" id="memberentry_library_management"> > <legend class="expanded" id="library_management_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Library management > </legend> > <ol> >@@ -1143,7 +1149,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS nodateenrolled && noopacnote && noborrowernotes %] > <fieldset class="rows" id="memberentry_subscription"> > <legend class="expanded" id="library_setup_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Library setup > </legend> > <ol> >@@ -1233,7 +1239,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS nouserid && nopassword && !CanUpdatePasswordExpiration %] > <fieldset class="rows" id="memberentry_userid"> > <legend class="expanded" id="opac_staff_login_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > OPAC/Staff interface login > </legend> > <ol> >@@ -1392,7 +1398,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS ( op == 'add_form' || op == 'duplicate' || ( nogonenoaddress && nolost ) ) %] > <fieldset class="rows" id="memberentry_account_flags"> > <legend class="expanded" id="account_flags_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Patron account flags > </legend> > <p>Setting a value here will prevent patron from circulating materials and placing holds on the OPAC</p> >@@ -1471,7 +1477,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% END %] > <fieldset class="rows" id="memberentry_restrictions"> > <legend class="expanded" id="restrictions_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Patron restrictions > </legend> > [% IF ( patron.restrictions.count ) %] >@@ -1563,7 +1569,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% IF Koha.Preference('HouseboundModule') %] > <fieldset class="rows" id="memberentry_housebound_roles"> > <legend class="expanded" id="housebound_roles"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Housebound roles > </legend> > <ol class="radio"> >@@ -1607,7 +1613,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% UNLESS ( no_patron_attribute_types ) %] > <fieldset class="rows" id="memberentry_patron_attributes"> > <legend class="expanded" id="patron_attributes_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Additional attributes and identifiers > </legend> > <input type="hidden" name="setting_extended_patron_attributes" value="1" /> >@@ -1670,7 +1676,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% IF ( EnhancedMessagingPreferences ) %] > <fieldset class="rows" id="memberentry_messaging_prefs"> > <legend class="expanded" id="patron_messaging_prefs_lgd"> >- <i class="fa fa-caret-down"></i> >+ <i class="fa fa-caret-down" aria-hidden="true"></i> > Patron messaging preferences > </legend> > <div id="messaging_prefs_loading" class="form-message" style="display:none"> >-- >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 35511
:
160033
|
160087
|
164852
|
164853
|
164873
|
164874