Skip to content

Commit 307cc96

Browse files
StephDrivermauromsl
authored andcommitted
a11y: #4446 endnote backlinks ARIA text update
1 parent 886d8d6 commit 307cc96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/transform/xsl/default.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
<xsl:apply-templates/>
496496
<xsl:for-each select="//xref[@rid=$fn-id]">
497497
<xsl:variable name="i"><xsl:value-of select="string(position())"></xsl:value-of></xsl:variable>
498-
<a class="footnotemarker" href="#{$fn-id}-nm{$i}" aria-label="reference to {$fn-id} in text" role="doc-backlink"> ---^ </a>
498+
<a class="footnotemarker" href="#{$fn-id}-nm{$i}" aria-label="location of {$fn-id} in text" role="doc-backlink"> ---^ </a>
499499
</xsl:for-each>
500500
</li>
501501
</xsl:template>
@@ -5067,7 +5067,7 @@
50675067
<!-- Output -->
50685068
<li id="fn{$fnnumfull}">
50695069
<xsl:apply-templates/>
5070-
<a href="#fnLink{$fnnumfull}" aria-label="reference to {$fnnumfull} in text" role="doc-backlink"> ---^ </a>
5070+
<a href="#fnLink{$fnnumfull}" aria-label="location of {$fnnumfull} in text" role="doc-backlink"> ---^ </a>
50715071
</li>
50725072
</xsl:for-each>
50735073
<!-- END model for each footnote -->

0 commit comments

Comments
 (0)