summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-04-21 08:07:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-04-21 08:07:37 -0700
commitf9b2ca7465e53e78fa70115a803d403b5c71bc82 (patch)
tree76a8636b034e4198af1b52f7629b3d96164a7ea0 /test
parentf3cfeba3efc1a94b02040e5b206123f58d08313a (diff)
HTML writer: do not include the deprecated doc-endnote role.
doc-endnote was deprecated in DPUB-ARIA 1.1. Closes #8030.
Diffstat (limited to 'test')
-rw-r--r--test/command/4235.md5
-rw-r--r--test/command/7006.md2
-rw-r--r--test/writer.html524
3 files changed, 14 insertions, 17 deletions
diff --git a/test/command/4235.md b/test/command/4235.md
index 5b534b6d7..ece2ce365 100644
--- a/test/command/4235.md
+++ b/test/command/4235.md
@@ -8,9 +8,8 @@ role="doc-noteref"><sup>1</sup></a></p>
role="doc-endnotes">
<hr />
<ol>
-<li id="foofn1" role="doc-endnote"><p>Has a footnote.<a
-href="#foofnref1" class="footnote-back"
-role="doc-backlink">↩︎</a></p></li>
+<li id="foofn1"><p>Has a footnote.<a href="#foofnref1"
+class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
```
diff --git a/test/command/7006.md b/test/command/7006.md
index 22aaf84ad..cc5ef3d0e 100644
--- a/test/command/7006.md
+++ b/test/command/7006.md
@@ -12,7 +12,7 @@ role="doc-noteref"><sup>1</sup></a></p>
role="doc-endnotes">
<hr />
<ol>
-<li id="fn1" role="doc-endnote"><p>Foo:</p>
+<li id="fn1"><p>Foo:</p>
<figure>
<img src="/image.jpg" alt="Caption." />
<figcaption aria-hidden="true">Caption.</figcaption>
diff --git a/test/writer.html5 b/test/writer.html5
index 23fda990f..a35d739ef 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -730,26 +730,24 @@ role="doc-noteref"><sup>5</sup></a></li>
<section class="footnotes footnotes-end-of-document" role="doc-endnotes">
<hr />
<ol>
-<li id="fn1" role="doc-endnote"><p>Here is the footnote. It can go anywhere
-after the footnote reference. It need not be placed at the end of the
-document.<a href="#fnref1" class="footnote-back"
-role="doc-backlink">↩︎</a></p></li>
-<li id="fn2" role="doc-endnote"><p>Here’s the long note. This one contains
-multiple blocks.</p>
+<li id="fn1"><p>Here is the footnote. It can go anywhere after the footnote
+reference. It need not be placed at the end of the document.<a href="#fnref1"
+class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn2"><p>Here’s the long note. This one contains multiple blocks.</p>
<p>Subsequent blocks are indented to show that they belong to the footnote (as
with list items).</p>
<pre><code> { &lt;code&gt; }</code></pre>
<p>If you want, you can indent every line, but you can also be lazy and just
indent the first line of each block.<a href="#fnref2" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
-<li id="fn3" role="doc-endnote"><p>This is <em>easier</em> to type. Inline notes
-may contain <a href="http://google.com">links</a> and <code>]</code> verbatim
-characters, as well as [bracketed text].<a href="#fnref3" class="footnote-back"
+<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a
+href="http://google.com">links</a> and <code>]</code> verbatim characters, as
+well as [bracketed text].<a href="#fnref3" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
+<li id="fn4"><p>In quote.<a href="#fnref4" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
+<li id="fn5"><p>In list.<a href="#fnref5" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
-<li id="fn4" role="doc-endnote"><p>In quote.<a href="#fnref4"
-class="footnote-back" role="doc-backlink">↩︎</a></p></li>
-<li id="fn5" role="doc-endnote"><p>In list.<a href="#fnref5"
-class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</body>