I am currently working on the accessibility of the open source software XWiki. I want to update the way we handle the headers on our page but I lack facts and information to back up this change.
Our solution so far is to use H1s for each complentary block. The quantity of those blocks depends on the instance, our default one has 5, and it's not uncommon for instances to have more.
Does it make sense to use H1 in the complementary elements in the side panels, or should we prefer using H2?
On one hand, the complementary content is not bound to the main page content, so it would make sense for it to be in a separate 'header-tree'. On the other hand, it's more or less the default today to have only one H1 per web page and a lot of accessibility tools / audits count having more than one H1 as against the best practice. Here, we can see that even if the W3C's page has a couple H1s, it keeps H2s on complementaries:
From what I understood, this one h1 rule is not strictly defined in the WCAG standards or anywhere by the W3C.
A third "in between" solution we thought of in the community would be to introduce h1 headers for each complementary column (right and left), so that we only have a total of three h1 (which is better than 6+ ...).
What is the most appropriate header structure to use for those side columns?