]> git.cameronkatri.com Git - mandoc.git/commitdiff
assign the ARIA role "doc-subtitle" to the .Nd element;
authorIngo Schwarze <schwarze@openbsd.org>
Wed, 6 Jul 2022 15:26:23 +0000 (15:26 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Wed, 6 Jul 2022 15:26:23 +0000 (15:26 +0000)
discussed with Anna Vyalkova <cyber at sysrq dot in>

mdoc_html.c

index 1193c61c21d7613fc0559641e3260fb9a880b96a..a6a707b48df6b902c2bb25b965f76ad7c02f7990 100644 (file)
@@ -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;
 }