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:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user