summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Rs
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-01 10:57:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-01 10:57:17 +0000
commit4d38af9845d3e85ca8120d21d9ef44415769ecfb (patch)
treea01f20d1ad4eb3d0cee4292440677f98444e24be /regress/mdoc/Rs
parentde0e5309636a7a9c363b09ddd327ce06512201d5 (diff)
downloadmandoc-4d38af9845d3e85ca8120d21d9ef44415769ecfb.tar.gz
Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements
as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.
Diffstat (limited to 'regress/mdoc/Rs')
-rw-r--r--regress/mdoc/Rs/paragraph.out_html2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/mdoc/Rs/paragraph.out_html b/regress/mdoc/Rs/paragraph.out_html
index ab2575e5..251d0d0c 100644
--- a/regress/mdoc/Rs/paragraph.out_html
+++ b/regress/mdoc/Rs/paragraph.out_html
@@ -4,6 +4,8 @@ initial reference: <cite class="Rs"><span class="RsA">author name</span>,
<i class="RsB">book title</i>.</cite>
<p class="Pp">in a paragraph: <cite class="Rs"><span class="RsA">another
author</span>, <i class="RsB">another book</i>.</cite></p>
+</section>
+<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
initial reference: