Closed kthayashi closed 1 year ago
It appears that the
aria-label
that I specified in the shortcode has failed to override thearia-label
that is seemingly pre-associated with the icon. Is there any known way to specify my ownaria-label
in this way? I'm usingquarto 1.3.433
on MacOS Ventura 13.4.
Use label
instead: https://github.com/quarto-ext/fontawesome/blob/main/_extensions/fontawesome/fontawesome.lua#L53
Fantastic, thank you very much for the tip!
Perhaps this is stemming from a lack of knowledge on my part, but I'm having trouble specifying an
aria-label
for an icon obtained using shortcode. A simple example is:{{< fa volume-high title="listen" aria-label="listen" >}}
. Runningquarto preview
and inspecting the source code for the icon in a web browser (I've tried both Firefox 114.0.1 and Safari 16.5), I get:<i class="fa-solid fa-volume-high" title="listen" aria-label="volume-high"></i>
. It appears that thearia-label
that I specified in the shortcode has failed to override thearia-label
that is seemingly pre-associated with the icon. Is there any known way to specify my ownaria-label
in this way? I'm usingquarto 1.3.433
on MacOS Ventura 13.4.