Skip to content

Commit

Permalink
Added aria-label changes to test-footnotes.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
phillmv committed Jan 31, 2023
1 parent 8bd769c commit 85c2057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_footnotes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_to_html
<section class="footnotes" data-footnotes>
<ol>
<li id="fn-hi">
<p>Hey! <a href="#fnref-hi" class="footnote-backref" data-footnote-backref aria-label="Back to content"></a></p>
<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>
</li>
</ol>
</section>
Expand Down Expand Up @@ -50,7 +50,7 @@ def test_render_html
<section class="footnotes" data-footnotes>
<ol>
<li id="fn-1">
<p>This is a footnote <a href="#fnref-1" class="footnote-backref" data-footnote-backref aria-label="Back to content"></a></p>
<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>
</li>
</ol>
</section>
Expand Down

0 comments on commit 85c2057

Please sign in to comment.