summaryrefslogtreecommitdiffstats
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
commitf009f2ba1add569c1b6fca7e6a21f0a23499d024 (patch)
treede1436d72b594d56664259247fe068cad596e832
parentc1c1046eb88a69d9f559370b1d521af13b115110 (diff)
downloadmandoc-f009f2ba1add569c1b6fca7e6a21f0a23499d024.tar.gz
assign the ARIA role "doc-subtitle" to the .Nd element;
discussed with Anna Vyalkova <cyber at sysrq dot in>
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 64c73cf0..4e2eeefa 100644
--- a/mdoc_html.c
+++ b/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;
}