Bugzilla – Attachment 151565 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-basket.tt
Bug-33808-Add-aria-labels-in-opac-baskettt.patch (text/plain), 1.78 KB, created by
Matt Blenkinsop
on 2023-05-23 14:00:41 UTC
(
hide
)
Description:
Bug 33808: Add aria-labels in opac-basket.tt
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-05-23 14:00:41 UTC
Size:
1.78 KB
patch
obsolete
>From 3db549e3fd7d54b5e1ad7ca5b5087fccf1f0c8b0 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 23 May 2023 14:00:11 +0000 >Subject: [PATCH] Bug 33808: Add aria-labels in opac-basket.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-basket.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >index 87ceda18c7..559e601596 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >@@ -31,7 +31,7 @@ > [% END %] > > <div id="download-cart" class="btn-group dropdown"> >- <a id="format" class="btn btn-link dropdown-toggle" data-toggle="dropdown" role="button" href="#"><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 cart" data-toggle="dropdown" role="button" href="#"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a> > <div class="dropdown-menu" role="menu" aria-labelledby="format"> > <a role="menuitem" class="dropdown-item download-cart" data-format="bibtex" href="#">BibTeX</a> > <a role="menuitem" class="dropdown-item download-cart" data-format="isbd" href="#">ISBD</a> >-- >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