Bug 27876: changed Your tags title to caption in OPAC
authorWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Sun, 25 Apr 2021 04:02:04 +0000 (04:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 May 2021 13:52:53 +0000 (15:52 +0200)
On the tags page, changed the <h2> "Your tags" to a <caption> to reduce
heading redundancy but keep the information available.

To test:
1) Apply patch
2) Go to OPAC
3) Go to opac-tags.pl
4) Ensure that there is a caption above the table that says "Your tags"
and that it is not a heading tag

Sponsored-by: Catalyst IT
Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt

index 4412067..921743f 100644 (file)
 
                         [% IF ( MY_TAGS ) %]
                         <form id="deletetags" method="post" action="opac-tags.pl">
-                            <h2>Your tags</h2>
                             <table id="mytagst" class="table table-bordered table-striped">
+                            <caption>Your tags</caption>
                                 <thead>
                                     <tr>
                                         <th>&nbsp;</th>