From 3f6a596c60833741991c23766d8710154bd82dfd Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 3 Jul 2022 14:29:44 +0000 Subject: Instead of the custom
, use the standard HTML
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 . Patch from Anna, slightly tweaked by me. --- html.h | 1 + 1 file changed, 1 insertion(+) (limited to 'html.h') diff --git a/html.h b/html.h index 32742461..38391c26 100644 --- a/html.h +++ b/html.h @@ -27,6 +27,7 @@ enum htmltag { TAG_STYLE, TAG_TITLE, TAG_BODY, + TAG_MAIN, TAG_DIV, TAG_SECTION, TAG_NAV, -- cgit