They work fine. My problem is that for accessibility
purposes I need to
ensure that I add a title to all links. So the title should
like "Click here to find out more about our .
I don’t think there’s any accessability guidelines that recommend that
you put ‘title’ attributes on ALL links. Only where they add extra
information. For example linking to a pdf with pdf,
you’d want to be adding the title there. If the text of the link is
description about where it’s going (which <r:link/> does by including
the title of the destination), then there’s no added benefit from the
inclusion of a title attribute.
The “click here to find out more about” is implied by the fact that
you’re using a link, and the is defined by your link
It might be worth spitting out a title attribute for the case where the
author is providing their own link text (<r:link>whatever</r:link>) but
not for the simple <r:link/> case.
You can add arbitary html attributes to the link tag to get them added
to your document, though you can’t use expressions in those attributes
(which is a big weakness of the tag approach to templating). So you can
<r:link title=“monkeys” id=“monkey_link”/>
and that will be rendered as:
But you can’t do:
<r:link title=“Learn more about <r:title/>”/>