]> git.cameronkatri.com Git - mandoc.git/commit
If an .Xr macro contains a section argument, write an aria-label attribute
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 25 Jun 2022 12:44:25 +0000 (12:44 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 25 Jun 2022 12:44:25 +0000 (12:44 +0000)
commit48d5c91d16f96ea522cfa04ed0e4bf91f8aad5f2
treedcc583be812e8c86623c1b448bb07075fa9013ba
parent775d26d8d971fc94e1220bd3c8f87e4a1409a2ca
If an .Xr macro contains a section argument, write an aria-label attribute
such that users of screen readers aren't forced to listen to lengthy and
distracting readings like "mdoc, left parenthesis, 7, right parenthesis".

Based on a patch from Anna Vyalkova <cyber at sysrq dot in>,
significantly tweaked by me.
LICENSE
mdoc_html.c