From a6a0b9071985b2af0b36adccc4b2692f0c555d7f Mon Sep 17 00:00:00 2001 From: Fahri Meral Date: Sun, 6 Feb 2022 16:51:45 +0300 Subject: [PATCH] Add: accessibility scroll up --- dist/jquery.scrollUp.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/jquery.scrollUp.js b/dist/jquery.scrollUp.js index 191f16e..8a37557 100644 --- a/dist/jquery.scrollUp.js +++ b/dist/jquery.scrollUp.js @@ -31,7 +31,9 @@ } else { $self = $('', { id: o.scrollName, - href: '#top' + href: '#top', + role: "button", + "aria-label": `top of page button` }); }