Bugzilla – Attachment 151568 Details for
Bug 33809
Accessibility: OPAC results page needs more descriptive links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33809: Facet "Show more/less" links don't identify what they are showing
Bug-33809-Facet-Show-moreless-links-dont-identify-.patch (text/plain), 5.17 KB, created by
Matt Blenkinsop
on 2023-05-23 14:14:50 UTC
(
hide
)
Description:
Bug 33809: Facet "Show more/less" links don't identify what they are showing
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-05-23 14:14:50 UTC
Size:
5.17 KB
patch
obsolete
>From 70431d4d3339159f82f09505d43c1f92d83847f4 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >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. >--- > .../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 %] > <li class="moretoggle"> >- <a href="#"><strong>Show more</strong></a> >+ [% IF facets_loo.type_label_Authors %]<a href="#" aria-label="Show more authors"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_Titles %]<a href="#" aria-label="Show more titles"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_Topics %]<a href="#" aria-label="Show more topics"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_Places %]<a href="#" aria-label="Show more places"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_Series %]<a href="#" aria-label="Show more series"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_ItemTypes %]<a href="#" aria-label="Show more item types"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_CollectionCodes %]<a href="#" aria-label="Show more collection codes"><strong>Show more</strong></a>[% END %] >+ [% IF facets_loo.type_label_Language %]<a href="#" aria-label="Show more languages"><strong>Show more</strong></a>[% END %] >+ [% UNLESS singleBranchMode %] >+ [% IF ( facets_loo.type_label_HomeLibrary ) %]<a href="#" aria-label="Show more home libraries"><strong>Show more</strong></a>[% END %] >+ [% IF ( facets_loo.type_label_HoldingLibrary ) %]<a href="#" aria-label="Show more holding libraries"><strong>Show more</strong></a>[% END %] >+ [% END %] >+ [% IF facets_loo.type_label_Location %]<a href="#" aria-label="Show more locations"><strong>Show more</strong></a>[% END %] > </li> > <li class="moretoggle" style="display:none"> >- <a href="#"><strong>Show less</strong></a> >+ [% IF facets_loo.type_label_Authors %]<a href="#" aria-label="Show less authors"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_Titles %]<a href="#" aria-label="Show less titles"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_Topics %]<a href="#" aria-label="Show less topics"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_Places %]<a href="#" aria-label="Show less places"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_Series %]<a href="#" aria-label="Show less series"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_ItemTypes %]<a href="#" aria-label="Show less item types"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_CollectionCodes %]<a href="#" aria-label="Show less collection codes"><strong>Show less</strong></a>[% END %] >+ [% IF facets_loo.type_label_Language %]<a href="#" aria-label="Show less languages"><strong>Show less</strong></a>[% END %] >+ [% UNLESS singleBranchMode %] >+ [% IF ( facets_loo.type_label_HomeLibrary ) %]<a href="#" aria-label="Show less home libraries"><strong>Show less</strong></a>[% END %] >+ [% IF ( facets_loo.type_label_HoldingLibrary ) %]<a href="#" aria-label="Show less holding libraries"><strong>Show less</strong></a>[% END %] >+ [% END %] >+ [% IF facets_loo.type_label_Location %]<a href="#" aria-label="Show less locations"><strong>Show less</strong></a>[% END %] > </li> > [% END %] > </ul> >-- >2.37.1 (Apple Git-137.1)
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 33809
:
151568
|
151569
|
151576
|
151606
|
151607
|
151925
|
152050
|
153121
|
157986
|
157987
|
157988
|
157989