summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-12-04 09:22:58 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2023-12-04 09:22:58 -0800
commit41da8ad9e03b9f7c97a1c9745f06bdbc28acd21f (patch)
tree13ed99584f2dc6b942973ec8d919628c97c8288b /test/command
parentdbdb4d9c1f16f57f4c66a84ed71b7837aeb69208 (diff)
HTML5 writer footnote changes (aria-role, element type).
* To conform to validator's expectations, `doc-footnote` role is used with `aside` and `doc-endnotes` with `section`. * `aside` is used only for notes at ends of sections or blocks; if all the notes come at the end of the document, `section` is used so we can have the `doc-endnotes` role.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4235.md4
-rw-r--r--test/command/7006.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/command/4235.md b/test/command/4235.md
index adb379e92..09db17eea 100644
--- a/test/command/4235.md
+++ b/test/command/4235.md
@@ -4,12 +4,12 @@ This.^[Has a footnote.]
^D
<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"
role="doc-noteref"><sup>1</sup></a></p>
-<aside id="foofootnotes" class="footnotes footnotes-end-of-document"
+<section id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
<li id="foofn1"><p>Has a footnote.<a href="#foofnref1"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
-</aside>
+</section>
```
diff --git a/test/command/7006.md b/test/command/7006.md
index a2b48c22c..75f0faea7 100644
--- a/test/command/7006.md
+++ b/test/command/7006.md
@@ -8,7 +8,7 @@ Test.[^fn]
^D
<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1"
role="doc-noteref"><sup>1</sup></a></p>
-<aside id="footnotes" class="footnotes footnotes-end-of-document"
+<section id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
@@ -19,5 +19,5 @@ role="doc-endnotes">
</figure>
<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li>
</ol>
-</aside>
+</section>
```