Bugzilla – Attachment 179465 Details for
Bug 39356
Accessibility 1.3.1: There are pages where heading levels are skipped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug39356 : Change heading ranks when ranks are skipped
Bug39356--Change-heading-ranks-when-ranks-are-skip.patch (text/plain), 9.58 KB, created by
Nina Martinez
on 2025-03-19 09:19:56 UTC
(
hide
)
Description:
Bug39356 : Change heading ranks when ranks are skipped
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-03-19 09:19:56 UTC
Size:
9.58 KB
patch
obsolete
>From 5fe0158209bd9fe3d3f6435d2d77407baea6a3c9 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Mon, 17 Mar 2025 13:43:58 +0100 >Subject: [PATCH] Bug39356 : Change heading ranks when ranks are skipped > >Test plan : > >- Check all headings on the pages (you can use tools like HeadingsMap ) >- Verify that no heading ranks are skipped >- If it is the case, the test succeeds >--- > .../bootstrap/en/includes/modals/catalog_cite.inc | 4 ++-- > .../opac-tmpl/bootstrap/en/includes/shelfbrowser.inc | 4 ++-- > .../bootstrap/en/modules/opac-curbside-pickups.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 8 ++++---- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- > 7 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >index d8f3011339..225400a104 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >@@ -4,12 +4,12 @@ > <div class="modal-dialog modal-lg"> > <div class="modal-content"> > <div class="modal-header"> >- <h3 class="modal-title" id="citeModalLabel">[% biblio.title | html %]</h3> >+ <h1 class="modal-title" id="citeModalLabel">[% biblio.title | html %]</h2> > <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > <div class="modal-body"> > [% FOREACH system IN cites.keys.sort %] >- <h3>[% system | html %]</h3> >+ <h2>[% system | html %]</h3> > <p>[% cites.$system | html %]</p> > [% END %] > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >index 280e76cfb1..0c812315d8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >@@ -1,14 +1,14 @@ > [% BLOCK shelfbrowser %] > [% IF OpenOPACShelfBrowser %] > <div id="shelfbrowser"> >- <h5 style="text-align: center;" tabindex="-1"> >+ <h2 style="text-align: center;" tabindex="-1"> > [%- IF ( starting_homebranch ) %]<span>Browsing [% starting_homebranch | html %] shelves</span>[% END -%] > [%- IF ( starting_homebranch && starting_location ) %],[% END %] > [%- IF ( starting_location ) %]<span>Shelving location:</span> [%- starting_location | html -%][% END -%] > [%- IF ( starting_homebranch && starting_ccode ) %],[% END %] > [%- IF ( starting_ccode ) %]<span>Collection: [%- starting_ccode | html -%]</span>[% END -%] > <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]" class="close_shelf">Close shelf browser <span class="sr-only">(Hides shelf browser)</span></a> >- </h5> >+ </h2> > > <table class="table"> > <tr> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >index 638742ab4e..e822aba23b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >@@ -106,7 +106,7 @@ > </div> > <div class="col-md-12 col-lg-10 order-1"> > <div id="pickupdetails" class="maincontent"> >- <h2>Curbside pickups</h2> >+ <h1>Curbside pickups</h1> > > [% FOR m IN messages %] > [% SET alert_type = "alert alert-info" %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 20d1543530..9029c739dc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1253,7 +1253,7 @@ > <div class="modal" id="libraryInfoModal" tabindex="-1" aria-labelledby="libraryInfoModalLabel" aria-hidden="true"> > <div class="modal-dialog"> > <div class="modal-content"> >- <div class="modal-header"> >+ <div class="modal-header"> > <h1 class="modal-title" id="libraryInfoModalLabel"></h1> > <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 476bc3c323..0823f1246e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -19,7 +19,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >-</head> >+</head>Å > [% INCLUDE 'bodytag.inc' bodyid='opac-main' %] > [% INCLUDE 'masthead.inc' %] > >@@ -86,13 +86,13 @@ > [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'opac' || Koha.Preference('NewsAuthorDisplay') == 'both' %] > [% FOREACH koha_new IN koha_news.content %] > <div class="newsitem"> >- <h4 class="newsheader"> >+ <h2 class="newsheader"> > [% IF ( news_item ) %] > [% koha_new.title | html %] > [% ELSE %] > <a id="newsitem[% koha_new.additional_content.id | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.additional_content.id | uri %]">[% koha_new.title | html %]</a> > [% END %] >- </h4> >+ </h2> > <div class="newsbody">[% koha_new.content | $raw %]</div> > <div class="newsfooter"> > Published on [% koha_new.published_on | $KohaDates %] >@@ -168,7 +168,7 @@ > [% INCLUDE 'csrf-token.inc' %] > <input type="hidden" name="koha_login_context" value="opac" /> > <fieldset class="brief"> >- <legend>Log in to your account:</legend> >+ <legend><h2>Log in to your account:</h2></legend> > [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] > <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-light" id="openid_connect"><i class="fa-brands fa-google" aria-hidden="true"></i> Log in with Google</a> > <p>If you do not have a Google account, but do have a local account, you can still log in: </p> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >index 7de5d93ae3..d52ccdcc21 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >@@ -26,7 +26,7 @@ > </div> > <div class="col-md-12 col-lg-10 order-1 order-lg-2"> > <div id="recalls" class="maincontent"> >- <h2>Recalls history</h2> >+ <h1>Recalls history</h1> > [% IF Koha.Preference('UseRecalls') %] > [% IF RECALLS.count %] > <div id="opac-user-recalls"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 22ac23da96..0679354bb3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -602,7 +602,7 @@ > <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > <div class="modal-body" id="addNoteBody"> >- <h6 id="addNoteTitle"></h6> >+ <h2 id="addNoteTitle"></h2> > <input type="hidden" id="addNoteIssueId" name="issue_id" value="" /> > <textarea name="note" id="addNote" rows="4"></textarea> > <div class="hint">Your note will be shown to the librarian when the item is checked in.</div> >@@ -1045,7 +1045,7 @@ > <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > <div class="modal-body"> >- <h6 id="suspendHoldTitle">Suspend Hold</h6> >+ <h2 id="suspendHoldTitle"></h2> > <input type="hidden" name="reserve_id" id="suspendHoldReserveId" value="" /> > <label for="suspend_untilDate">Suspend until:</label> > <input type="text" name="suspend_until" id="suspend_untilDate" size="10" /> >-- >2.43.0
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 39356
:
179465
|
179473
|
179928
|
180063
|
180224
|
180269