diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-07-03 14:29:44 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-07-03 14:29:44 +0000 |
commit | 3f6a596c60833741991c23766d8710154bd82dfd (patch) | |
tree | b4b127ac6ac49bda9b7168e2dfb0bde79fbff169 /html.h | |
parent | cf1c247205f081780afa35078c938782166eb318 (diff) | |
download | mandoc-3f6a596c60833741991c23766d8710154bd82dfd.tar.gz |
Instead of the custom <div class="manual-text">, use the standard
HTML <main> element. The benefit is that it has the ARIA landmark
role "main" by default. To ease the transition for people using
their own CSS file instead of mandoc.css, retain the custom class
for now.
I had this idea in a discussion with Anna Vyalkova <cyber at sysrq dot in>.
Patch from Anna, slightly tweaked by me.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ enum htmltag { TAG_STYLE, TAG_TITLE, TAG_BODY, + TAG_MAIN, TAG_DIV, TAG_SECTION, TAG_NAV, |