Bugzilla – Attachment 153495 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.27 KB, created by
Kyle M Hall (khall)
on 2023-07-14 18:01:53 UTC
(
hide
)
Description:
Bug 33808: Add aria-labels in opac-shelves.tt
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-07-14 18:01:53 UTC
Size:
2.27 KB
patch
obsolete
>From 86ffb4d825c7811553b03d52e5250179e96ae6c3 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > 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 208de42a6e..2220bf124a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -228,7 +228,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.30.2
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