diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-07-06 16:05:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-07-06 16:05:40 +0000 |
commit | 45e74416dac588344a02622e7c0a76a4cbde2b95 (patch) | |
tree | 486ff815903c05ca7ca13d107c55a8ab04593483 /man_html.c | |
parent | e50d7a20cff8283cdc0c411da7b429708a6a62e3 (diff) | |
download | mandoc-45e74416dac588344a02622e7c0a76a4cbde2b95.tar.gz mandoc-45e74416dac588344a02622e7c0a76a4cbde2b95.tar.zst mandoc-45e74416dac588344a02622e7c0a76a4cbde2b95.zip |
https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/ says:
"Start names with a capital letter;
it helps some screen readers speak them with appropriate inflection."
Anna Vyalkova already did that correctly when sending patches,
but i ruined it when committing, so fix it now.
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.183 2022/07/06 14:34:59 schwarze Exp $ */ +/* $Id: man_html.c,v 1.184 2022/07/06 16:05:40 schwarze Exp $ */ /* * Copyright (c) 2013-2015,2017-2020,2022 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> @@ -271,7 +271,7 @@ man_root_pre(const struct roff_meta *man, struct html *h) mandoc_asprintf(&title, "%s(%s)", man->title, man->msec); t = print_otag(h, TAG_DIV, "cr?", "head", "doc-pageheader", - "aria-label", "manual header line"); + "aria-label", "Manual header line"); print_otag(h, TAG_SPAN, "c", "head-ltitle"); print_text(h, title); @@ -294,7 +294,7 @@ man_root_post(const struct roff_meta *man, struct html *h) struct tag *t; t = print_otag(h, TAG_DIV, "cr?", "foot", "doc-pagefooter", - "aria-label", "manual footer line"); + "aria-label", "Manual footer line"); print_otag(h, TAG_SPAN, "c", "foot-left"); print_stagq(h, t); |