summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Sh/paragraph.out_html
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/Sh/paragraph.out_html
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/Sh/paragraph.out_html')
-rw-r--r--regress/mdoc/Sh/paragraph.out_html4
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/mdoc/Sh/paragraph.out_html b/regress/mdoc/Sh/paragraph.out_html
index 7d4f0d40..3b5154de 100644
--- a/regress/mdoc/Sh/paragraph.out_html
+++ b/regress/mdoc/Sh/paragraph.out_html
@@ -1,7 +1,11 @@
BEGINTEST
<p class="Pp">descriptive text</p>
+<section class="Ss">
<h2 class="Ss" id="Subsection"><a class="permalink" href="#Subsection">Subsection</a></h2>
initial subsection text
<p class="Pp">subsection paragraph</p>
+</section>
+</section>
+<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
ENDTEST