Closed oliverjam closed 4 years ago
Hi @oliverjam,
Thanks for your suggestion. Do you have a version with this feature working?! Could please make a PR?
Thank you, nagaozen
Closing because it's not an issue. We can continue exchanging ideas though.
It would be nice to be able to control what attributes are set on the anchor.
For example I'd like to set an
aria-label
so screenreader users get a useful name instead of whatever unicode symbol/icon is inside the anchor. This is kind of related to #58.Rather than continually adding new options for each possible attribute could we support passing a
permalinkAttrs
object as an option? E.g.I think this would be relatively simple to implement: