Bugzilla – Attachment 162298 Details for
Bug 35810
Add back to top button to the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35810: (QA follow-up) Add aria label for accessibility
Bug-35810-QA-follow-up-Add-aria-label-for-accessib.patch (text/plain), 1.22 KB, created by
Emily Lamancusa (emlam)
on 2024-02-20 14:51:38 UTC
(
hide
)
Description:
Bug 35810: (QA follow-up) Add aria label for accessibility
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-02-20 14:51:38 UTC
Size:
1.22 KB
patch
obsolete
>From fcb1bab5e268f3edb26e0087c3ef1948d093c0be Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Tue, 20 Feb 2024 09:49:48 -0500 >Subject: [PATCH] Bug 35810: (QA follow-up) Add aria label for accessibility > >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index b475219164..f2483f8cb1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -244,7 +244,7 @@ $(document).ready(function() { > resetSearchContext(); > }); > // add back to top button on each staff page >- $("body").append('<button id="backtotop" class="btn btn-default"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>'); >+ $("body").append('<button id="backtotop" class="btn btn-default" aria-label="' + __("Back to top") + '"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>'); > $("#backtotop").hide(); > $(window).scroll(function(){ > if ( $(window).scrollTop() < 300 ) { >-- >2.34.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 35810
:
161032
|
161033
|
161034
|
161111
|
161882
|
161913
|
162296
| 162298