Skip to content

Commit 85c2057

Browse files
committed
Added aria-label changes to test-footnotes.rb
1 parent 8bd769c commit 85c2057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_footnotes.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_to_html
1313
<section class="footnotes" data-footnotes>
1414
<ol>
1515
<li id="fn-hi">
16-
<p>Hey! <a href="#fnref-hi" class="footnote-backref" data-footnote-backref aria-label="Back to content"></a></p>
16+
<p>Hey! <a href="#fnref-hi" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="1" aria-label="Back to reference 1"></a></p>
1717
</li>
1818
</ol>
1919
</section>
@@ -50,7 +50,7 @@ def test_render_html
5050
<section class="footnotes" data-footnotes>
5151
<ol>
5252
<li id="fn-1">
53-
<p>This is a footnote <a href="#fnref-1" class="footnote-backref" data-footnote-backref aria-label="Back to content"></a></p>
53+
<p>This is a footnote <a href="#fnref-1" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="1" aria-label="Back to reference 1"></a></p>
5454
</li>
5555
</ol>
5656
</section>

0 commit comments

Comments
 (0)