mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-01-08 06:15:29 +01:00
When copying link for tiles, also update aria-label with link text (#126)
This commit is contained in:
parent
c942cfd71a
commit
f84314e170
@ -166,6 +166,8 @@
|
|||||||
.addClass('primary')
|
.addClass('primary')
|
||||||
.appendTo($this);
|
.appendTo($this);
|
||||||
|
|
||||||
|
$x.attr('aria-label', $link.text());
|
||||||
|
|
||||||
$link = $link.add($x);
|
$link = $link.add($x);
|
||||||
|
|
||||||
$link.on('click', function(event) {
|
$link.on('click', function(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user