Bugzilla – Attachment 105724 Details for
Bug 25155
Accessibility: The 'Login modal' contains semantically incorrect headings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25155: (follow-up) Increase headings levels by 1
Bug-25155-follow-up-Increase-headings-levels-by-1.patch (text/plain), 5.92 KB, created by
Martin Renvoize (ashimema)
on 2020-06-11 09:16:25 UTC
(
hide
)
Description:
Bug 25155: (follow-up) Increase headings levels by 1
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-06-11 09:16:25 UTC
Size:
5.92 KB
patch
obsolete
>From 5675b9efe48604a88a59f061e6a9cde98d7912bf Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 11 Jun 2020 10:14:03 +0100 >Subject: [PATCH] Bug 25155: (follow-up) Increase headings levels by 1 > >In the previous patch we reduced the headings levels by 2, but this was >one level too many as we already have an H1 in the navbar and so all >other heading sets should start at level 2 to semantically follow the >title heading. >--- > .../bootstrap/en/modules/opac-auth.tt | 22 +++++++++---------- > 1 file changed, 11 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index 30ec2bda0a..7f56900cdc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -29,7 +29,7 @@ > [% IF ( nopermission ) %] > <!-- This is what is displayed if user doesn't have permission --> > <div class="alert"> >- <h1>Access denied</h1> >+ <h2>Access denied</h2> > <p>Sorry, the system doesn't think you have permission to access this page. </p> > [% IF SCO_login %] > <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">Log out and try again with a different user.</a></p> >@@ -41,7 +41,7 @@ > > [% IF ( loginprompt ) %] > <!-- login prompt time--> >- <h1>Log in to your account</h1> >+ <h2>Log in to your account</h2> > > [% IF ( timed_out ) %] > <!-- This is what is displayed if login has timed out --> >@@ -82,14 +82,14 @@ > [% END %] > </div> > [% ELSE %] >- <h2>Shibboleth Login</h2> >+ <h3>Shibboleth Login</h3> > <p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> > [% END %] > [% IF ( casAuthentication ) %] >- <h2>CAS login</h2> >+ <h3>CAS login</h3> > <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> > [% ELSE %] >- <h2>Local login</h2> >+ <h3>Local login</h3> > <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p> > [% END %] > >@@ -110,7 +110,7 @@ > </ul> > [% END %] > [% ELSE %] >- <h2>CAS login</h2> >+ <h3>CAS login</h3> > > [% IF ( invalidCasLogin ) %] > <!-- This is what is displayed if cas login has failed --> >@@ -134,7 +134,7 @@ > [% IF ( shibbolethAuthentication ) %] > <p>Nothing</p> > [% ELSE %] >- <h2>Local login</h2> >+ <h3>Local login</h3> > <p>If you do not have a CAS account, but do have a local account, you can still log in: </p> > [% END %] > >@@ -142,7 +142,7 @@ > > [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] > [% IF ( invalidGoogleOpenIDConnectLogin ) %] >- <h2>Google login</h2> >+ <h3>Google login</h3> > <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin | html %]</span></p> > <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p> > <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a> >@@ -179,9 +179,9 @@ > [% IF Koha.Preference('OpacLoginInstructions') %] > [% Koha.Preference('OpacLoginInstructions') | $raw %] > [% ELSE %] >- <h2>Don't have a password yet?</h2> >+ <h3>Don't have a password yet?</h3> > <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p> >- <h2>Don't have a library card?</h2> >+ <h3>Don't have a library card?</h3> > <p>If you don't have a library card, stop by your local library to sign up.</p> > [% END # / IF Koha.Preference('OpacLoginInstructions') %] > >@@ -192,7 +192,7 @@ > [% END # / IF loginprompt %] > > [% ELSE %] >- <h1>Logging on to the catalog has not been enabled by the library.</h1> >+ <h2>Logging on to the catalog has not been enabled by the library.</h2> > <ul> > <li>To report this error, you can email the Koha Administrator.<a href="mailto:[% admin | uri %]">Email</a></li> > <li>Use top menu bar to navigate to another part of Koha.</li> >-- >2.20.1
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 25155
:
105720
|
105722
|
105723
|
105724
|
105755
|
105756
|
105757
|
106618