From 872a49d0c346e270534da648319860949d312e81 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 Signed-off-by: Kyle M Hall --- .../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 736b2ef24c1..98662ffd056 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -86,10 +86,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