@@ -362,7 +362,7 @@ test('Footnote', (t) => {
362
362
</tr>
363
363
</tbody>
364
364
</table>
365
- <section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only ">Footnotes</h2>
365
+ <section data-footnotes class="footnotes"><h2 class="sr-only" id="footnote-label ">Footnotes</h2>
366
366
<ol>
367
367
<li id="user-content-fn-1">
368
368
<p>a <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p>
@@ -400,7 +400,7 @@ test('Footnote', (t) => {
400
400
</tr>
401
401
</thead>
402
402
</table>
403
- <section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only ">Footnotes</h2>
403
+ <section data-footnotes class="footnotes"><h2 class="sr-only" id="footnote-label ">Footnotes</h2>
404
404
<ol>
405
405
<li id="user-content-fn-1">
406
406
<p>a <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p>
@@ -424,7 +424,7 @@ test('Footnote', (t) => {
424
424
)
425
425
) ,
426
426
`<p>Call<sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup><sup><a href="#user-content-fn-1" id="user-content-fnref-1-2" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>
427
- <section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only ">Footnotes</h2>
427
+ <section data-footnotes class="footnotes"><h2 class="sr-only" id="footnote-label ">Footnotes</h2>
428
428
<ol>
429
429
<li id="user-content-fn-1">
430
430
<p>Recursion<sup><a href="#user-content-fn-1" id="user-content-fnref-1-3" data-footnote-ref aria-describedby="footnote-label">1</a></sup><sup><a href="#user-content-fn-1" id="user-content-fnref-1-4" data-footnote-ref aria-describedby="footnote-label">1</a></sup> <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a> <a href="#user-content-fnref-1-2" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩<sup>2</sup></a> <a href="#user-content-fnref-1-3" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩<sup>3</sup></a> <a href="#user-content-fnref-1-4" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩<sup>4</sup></a></p>
@@ -445,7 +445,7 @@ test('Footnote', (t) => {
445
445
{ footnoteLabel : 'Voetnoten' , footnoteBackLabel : 'Terug naar de inhoud' }
446
446
)
447
447
) ,
448
- '<p><sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>\n<section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only ">Voetnoten</h2>\n<ol>\n<li id="user-content-fn-1">\n<p>a <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Terug naar de inhoud">↩</a></p>\n</li>\n</ol>\n</section>' ,
448
+ '<p><sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>\n<section data-footnotes class="footnotes"><h2 class="sr-only" id="footnote-label ">Voetnoten</h2>\n<ol>\n<li id="user-content-fn-1">\n<p>a <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Terug naar de inhoud">↩</a></p>\n</li>\n</ol>\n</section>' ,
449
449
'should support `footnoteLabel`, `footnoteBackLabel`'
450
450
)
451
451
@@ -460,7 +460,7 @@ test('Footnote', (t) => {
460
460
{ clobberPrefix : '' }
461
461
)
462
462
) ,
463
- '<p><sup><a href="#fn-1" id="fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>\n<section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only ">Footnotes</h2>\n<ol>\n<li id="fn-1">\n<p>a <a href="#fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p>\n</li>\n</ol>\n</section>' ,
463
+ '<p><sup><a href="#fn-1" id="fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>\n<section data-footnotes class="footnotes"><h2 class="sr-only" id="footnote-label ">Footnotes</h2>\n<ol>\n<li id="fn-1">\n<p>a <a href="#fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p>\n</li>\n</ol>\n</section>' ,
464
464
'should support an empty `clobberPrefix`'
465
465
)
466
466
@@ -475,7 +475,7 @@ test('Footnote', (t) => {
475
475
{ footnoteLabelTagName : 'h1' }
476
476
)
477
477
) ,
478
- / < h 1 i d = " f o o t n o t e - l a b e l " c l a s s = " s r - o n l y " > F o o t n o t e s < \/ h 1 > / ,
478
+ / < h 1 c l a s s = " s r - o n l y " i d = " f o o t n o t e - l a b e l " > F o o t n o t e s < \/ h 1 > / ,
479
479
'should support a `footnoteLabelTagName`'
480
480
)
481
481
@@ -490,7 +490,7 @@ test('Footnote', (t) => {
490
490
{ footnoteLabelProperties : { } }
491
491
)
492
492
) ,
493
- / < h 2 > F o o t n o t e s < \/ h 2 > / ,
493
+ / < h 2 i d = " f o o t n o t e - l a b e l " > F o o t n o t e s < \/ h 2 > / ,
494
494
'should support a `footnoteLabelProperties`'
495
495
)
496
496
0 commit comments