tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: Anna <cyber@sysrq.in>
Cc: tech@mandoc.bsd.lv
Subject: Re: patch: avoid multiple <h1>
Date: Wed, 6 Jul 2022 17:34:51 +0200	[thread overview]
Message-ID: <YsWrm34MxogbDsa2@asta-kit.de> (raw)
In-Reply-To: <YsWe5UvtriRpxLeO@asta-kit.de>

Hi Anna,

Ingo Schwarze wrote on Wed, Jul 06, 2022 at 04:40:37PM +0200:
> Anna wrote on Wed, Jul 06, 2022 at 06:15:47PM +0500:
>> On 2022-07-06 14:43, Ingo Schwarze wrote:

>>>  * Use <p role="doc-subtitle"> for the .Nd in the .Nm section.
>>> Or something like that.

>> I like that idea.

> I'll look into that later.

That was simple, see the commit below.

Yours,
  Ingo


Log Message:
-----------
assign the ARIA role "doc-subtitle" to the .Nd element;
discussed with Anna Vyalkova <cyber at sysrq dot in>

Modified Files:
--------------
    mandoc:
        mdoc_html.c

Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_html.c,v
retrieving revision 1.348
retrieving revision 1.349
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.348 -r1.349
--- mdoc_html.c
+++ mdoc_html.c
@@ -637,7 +637,7 @@ mdoc_nd_pre(MDOC_ARGS)
 		abort();
 	}
 	print_text(h, "\\(em");
-	print_otag(h, TAG_SPAN, "c", "Nd");
+	print_otag(h, TAG_SPAN, "cr", "Nd", "doc-subtitle");
 	return 1;
 }
 
--
 To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv


  reply	other threads:[~2022-07-06 15:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 12:43 Ingo Schwarze
2022-07-06 13:15 ` Anna
2022-07-06 14:40   ` Ingo Schwarze
2022-07-06 15:34     ` Ingo Schwarze [this message]
2022-07-06 15:58     ` Ingo Schwarze
2022-07-06 14:40 ` J. Lewis Muir
2022-07-06 16:34   ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YsWrm34MxogbDsa2@asta-kit.de \
    --to=schwarze@usta.de \
    --cc=cyber@sysrq.in \
    --cc=tech@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).