From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 4313 invoked from network); 21 Jun 2022 12:28:08 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2022 12:28:08 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id c78c75c5 for ; Tue, 21 Jun 2022 07:28:07 -0500 (EST) Received: from sysrq.in (sysrq.in [37.79.202.136]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id b90df10f for ; Tue, 21 Jun 2022 07:28:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysrq.in; s=sysrq.in; t=1655814473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ILOr5RyDWpzl3iq5rl44ig7yN984wstXcfQugBZljf4=; b=e/medVsuxIRkFnZMi+4bR1TQIaYkzxPSDHZcNDI6/9YQRv6FzEhQNYPJynRGQlWvON0lZi MoG4KJkHHeMwn1iPiXmqh3pPEv2MI2RXuahUy8gALGD/+hT+o0Ctpb7pd+f9BIsvBEoiE1 sdZwuOx6awQKnulH8lPpUIe9zmR8tBaqTMwuzKW5dqo0lLZs1F+I3M8H6uCWYBes34WDXn K81OT6NskvpSXXCyHbbhIgdhCk/2T8pYmaXy3TJKool2GLsXM090U8kS1F1IEH9cqZ+TsM EG46bVd8WMohHNRarUhxQVyM6aHm9wiWgcDirHx54nU5dr9PVbnVKPotsZopZQ== Received: from sysrq.in (localhost [127.0.0.1]) by sysrq.in (OpenSMTPD) with ESMTPSA id eff6eca2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 21 Jun 2022 12:27:53 +0000 (UTC) From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= To: tech@mandoc.bsd.lv Subject: [PATCH 3/8] mdoc_html: Add DPUB-ARIA roles to subsections Date: Tue, 21 Jun 2022 17:27:44 +0500 Message-Id: <20220621122749.11417-4-cyber@sysrq.in> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220621122749.11417-1-cyber@sysrq.in> References: <20220621122749.11417-1-cyber@sysrq.in> X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- mdoc_html.c | 2 +- regress/mdoc/Sh/paragraph.out_html | 2 +- regress/mdoc/Sh/tag.out_html | 4 ++-- regress/mdoc/Tg/warn.out_html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mdoc_html.c b/mdoc_html.c index 31cfaac2..076a6bac 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -592,7 +592,7 @@ mdoc_ss_pre(MDOC_ARGS) switch (n->type) { case ROFFT_BLOCK: html_close_paragraph(h); - print_otag(h, TAG_SECTION, "c", "Ss"); + print_otag(h, TAG_SECTION, "cr", "Ss", "doc-chapter"); break; case ROFFT_HEAD: print_otag_id(h, TAG_H2, "Ss", n); diff --git a/regress/mdoc/Sh/paragraph.out_html b/regress/mdoc/Sh/paragraph.out_html index 604153cd..21da3acc 100644 --- a/regress/mdoc/Sh/paragraph.out_html +++ b/regress/mdoc/Sh/paragraph.out_html @@ -1,5 +1,5 @@

descriptive text

-
+

initial subsection text

subsection paragraph

diff --git a/regress/mdoc/Sh/tag.out_html b/regress/mdoc/Sh/tag.out_html index 88f65803..8304ed5c 100644 --- a/regress/mdoc/Sh/tag.out_html +++ b/regress/mdoc/Sh/tag.out_html @@ -8,11 +8,11 @@

Text introducing examples.

-
+

Example text.

-
+

More example text.

diff --git a/regress/mdoc/Tg/warn.out_html b/regress/mdoc/Tg/warn.out_html index 7c7d7943..673580fe 100644 --- a/regress/mdoc/Tg/warn.out_html +++ b/regress/mdoc/Tg/warn.out_html @@ -1,7 +1,7 @@

initial text too many badstart badend whitespace

-
+

subtext

-- 2.35.1 -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv