From 455500ca6a4d63081b2c527c26a2432da90ff06e Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 23 May 2023 14:13:03 +0000 Subject: [PATCH] Bug 33809: Facet "Show more/less" links don't identify what they are showing This patch addresses the Show more/less links in the side menu in opac-facets.inc. The links don't identify which facet they are linked to and this is confusing for screen readers. Signed-off-by: Lucas Gass --- .../bootstrap/en/includes/opac-facets.inc | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 844de90853..2b60c384b7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -85,10 +85,34 @@ [% END %] [% IF facets_loo.facets.size > 5 %]
  • - Show more + [% IF facets_loo.type_label_Authors %]Show more[% END %] + [% IF facets_loo.type_label_Titles %]Show more[% END %] + [% IF facets_loo.type_label_Topics %]Show more[% END %] + [% IF facets_loo.type_label_Places %]Show more[% END %] + [% IF facets_loo.type_label_Series %]Show more[% END %] + [% IF facets_loo.type_label_ItemTypes %]Show more[% END %] + [% IF facets_loo.type_label_CollectionCodes %]Show more[% END %] + [% IF facets_loo.type_label_Language %]Show more[% END %] + [% UNLESS singleBranchMode %] + [% IF ( facets_loo.type_label_HomeLibrary ) %]Show more[% END %] + [% IF ( facets_loo.type_label_HoldingLibrary ) %]Show more[% END %] + [% END %] + [% IF facets_loo.type_label_Location %]Show more[% END %]
  • [% END %] -- 2.30.2