mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-06-05 22:19:18 +02:00
When copying link for tiles, also update aria-label with link text (#126)
This commit is contained in:
@ -165,6 +165,8 @@
|
|||||||
.text('')
|
.text('')
|
||||||
.addClass('primary')
|
.addClass('primary')
|
||||||
.appendTo($this);
|
.appendTo($this);
|
||||||
|
|
||||||
|
$x.attr('aria-label', $link.text());
|
||||||
|
|
||||||
$link = $link.add($x);
|
$link = $link.add($x);
|
||||||
|
|
||||||
@ -349,4 +351,4 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
Reference in New Issue
Block a user