Bug 25155: Fixing semantic headings login modal
The login modal headings were semantically incorrect prior to this patch. Test plan: 1) Click the 'Log in to your account' option to expose the modal 2) Use a headings inspector and note we jump from H1 (Page Title) -> H3 (Modal Title) 3) Apply the patch and reload the page. 4) Click the 'Log in to your account' option to expose the modal 5) The modal should still appear well formed 6) Use a headings inspector and note we jump from H1 (Page Title) -> H2 (Modal Title) -> H3 (Shibboleth title if enabled) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit513b226873) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit482fc13558) Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> (cherry picked from commit68f16bb340) Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
d2d140683f
commit
53f0923e04
|
|
@ -303,7 +303,7 @@
|
|||
<div id="loginModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 id="modalLoginLabel">Log in to your account</h3>
|
||||
<h2 id="modalLoginLabel">Log in to your account</h2>
|
||||
</div>
|
||||
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth">
|
||||
<input type="hidden" name="has-search-query" id="has-search-query" value="" />
|
||||
|
|
@ -315,9 +315,9 @@
|
|||
<p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<h4>Shibboleth login</h4>
|
||||
<h3>Shibboleth login</h3>
|
||||
<p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p>
|
||||
<h4>Local Login</h4>
|
||||
<h3>Local Login</h3>
|
||||
[% END %]
|
||||
[% END %]
|
||||
<input type="hidden" name="koha_login_context" value="opac" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue