Bugzilla – Attachment 151564 Details for
Bug 33808
Accessibility: Non-descriptive links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33808: Add aria-labels in opac-shelves.tt
Bug-33808-Add-aria-labels-in-opac-shelvestt.patch (text/plain), 2.18 KB, created by
Matt Blenkinsop
on 2023-05-23 13:59:46 UTC
(
hide
)
Description:
Bug 33808: Add aria-labels in opac-shelves.tt
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-05-23 13:59:46 UTC
Size:
2.18 KB
patch
obsolete
>From c1bacbf5df22405032de21963fbdfc1d174375a0 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 23 May 2023 13:58:13 +0000 >Subject: [PATCH] Bug 33808: Add aria-labels in opac-shelves.tt > >This patch adds an aria-label and an aria-haspopup to Download buttons identified as non-descriptive in accessibility testing >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 5c8a8fe695..7194e1686f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -227,7 +227,7 @@ > <a class="btn btn-link newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form"><i class="fa fa-fw fa-plus" aria-hidden="true"></i> New list</a> <span class="sep">|</span> > > <div id="download-list" class="btn-group dropdown"> >- <a id="format" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a> >+ <a id="format" class="btn btn-link dropdown-toggle" aria-haspopup="menu" aria-label="Select format and download list" data-toggle="dropdown" href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a> > <div class="dropdown-menu pull-left" role="menu" aria-labelledby="format"> > <a role="menuitem" class="dropdown-item download-list" data-format="bibtex" href="#">BibTeX</a> > [% IF Koha.Preference('OPACISBD') %]<a role="menuitem" class="dropdown-item download-list" data-format="isbd" href="#">ISBD</a>[% END %] >-- >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 33808
:
151564
|
151565
|
151566
|
151567
|
151597
|
151598
|
151599
|
151617
|
151621
|
153495
|
153496
|
153497
|
153498