mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-01-06 21:31:10 +01:00
When copying link for tiles, also update aria-label with link text (#126)
This commit is contained in:
parent
c942cfd71a
commit
f84314e170
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user