When copying link for tiles, also update aria-label with link text (#126)

This commit is contained in:
coezbek 2021-03-26 22:20:55 +01:00 committed by GitHub
parent c942cfd71a
commit f84314e170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -165,6 +165,8 @@
.text('')
.addClass('primary')
.appendTo($this);
$x.attr('aria-label', $link.text());
$link = $link.add($x);
@ -349,4 +351,4 @@
});
})(jQuery);
})(jQuery);