Hi Rob,
I haven't tested this, but the header for webhelp output is generated by a template named "webhelpheader" in webehelp/xsl/webhelp.xsl. You could copy that template to your customization layer and modify it as needed.

It looks like the template already outputs the accesskey and href attributes. The other two attributes could be added with:

<xsl:attribute name="class">navheaderTable</xsl:attribute>
<xsl:attribute name="title">
  <xsl:apply-templates select="$prev" mode="object.title.markup"/>
</xsl:attribute>

If you just want the text of the title and not its numerical label, then use mode="title.markup". Let me know if that doesn't work.

Bob Stayton
Sagehill Enterprises
[email protected]

On 7/24/2017 10:51 AM, Rob Flynn wrote:
Hi

I’m using docbook-xsl-ns-1.76.1 webhelp and I’m trying to add descriptive text elements to the Prev, Up, and Next header navigation to meet accessibility guidelines.

In the end, I’d like the html output to render something like:

<a class="navheaderTable" accesskey="p" title=”Previous topic” href="s0101mytopic01.html">

Has anyone figured out this?

Rob Flynn

Rob Flynn

/Principal Technical Writer/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to