aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-07-06 15:26:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-07-06 15:26:23 +0000
commitfa5658a0a283d78cff5e0be54c4d93c635845c30 (patch)
tree626691dbdb12e0493c1236c7c22106330691e57d
parentd87fd9991b3f2008e4d248991fdf4d47390c4704 (diff)
downloadmandoc-fa5658a0a283d78cff5e0be54c4d93c635845c30.tar.gz
mandoc-fa5658a0a283d78cff5e0be54c4d93c635845c30.tar.zst
mandoc-fa5658a0a283d78cff5e0be54c4d93c635845c30.zip
assign the ARIA role "doc-subtitle" to the .Nd element;
discussed with Anna Vyalkova <cyber at sysrq dot in>
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 1193c61c..a6a707b4 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.348 2022/07/06 14:34:59 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.349 2022/07/06 15:26:23 schwarze Exp $ */
/*
* Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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;
}