Skip to content

Commit

Permalink
Merge pull request #655 from openSUSE/docteam-1664-revhistory-label
Browse files Browse the repository at this point in the history
DOCTEAM#1664: Fix aria-label for revhistory link
  • Loading branch information
tomschr authored Jan 30, 2025
2 parents bd1c6c2 + 813ce59 commit 30b1b1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions suse2022-ns/xhtml/titlepage.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="str.title" select="string($title)"/>

<!-- Create the link to the revhistory page -->
<div class="titlepage-revhistory">
<a aria-label="{$revhistory.text}" hreflang="{$candidate.lang}"
href="{$file}" target="_blank"><xsl:copy-of select="string($title)" /></a>
<a aria-label="{$str.title}" hreflang="{$candidate.lang}"
href="{$file}" target="_blank"><xsl:copy-of select="$str.title" /></a>
</div>

<xsl:call-template name="write.chunk">
Expand Down

0 comments on commit 30b1b1d

Please sign in to comment.