diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-12-04 09:22:58 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-04 09:22:58 -0800 |
| commit | 41da8ad9e03b9f7c97a1c9745f06bdbc28acd21f (patch) | |
| tree | 13ed99584f2dc6b942973ec8d919628c97c8288b /test/writer.html5 | |
| parent | dbdb4d9c1f16f57f4c66a84ed71b7837aeb69208 (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/writer.html5')
| -rw-r--r-- | test/writer.html5 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.html5 b/test/writer.html5 index b7444d2af..26bf7da7c 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -740,7 +740,7 @@ role="doc-noteref"><sup>4</sup></a></p> role="doc-noteref"><sup>5</sup></a></li> </ol> <p>This paragraph should not be part of the note, as it is not indented.</p> -<aside id="footnotes" class="footnotes footnotes-end-of-document" +<section id="footnotes" class="footnotes footnotes-end-of-document" role="doc-endnotes"> <hr /> <ol> @@ -763,6 +763,6 @@ role="doc-backlink">↩︎</a></p></li> <li id="fn5"><p>In list.<a href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li> </ol> -</aside> +</section> </body> </html> |
