I have a question about ensuring a good document structure when the visual design does not require explicit headers.
Take the following HTML example for the home page.
<header> <h1>Our Brand</h1> <p>Tagline</p> </header> <section class="company"> <h2>Our Company</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Delectus error hic, aliquid assumenda sed optio, praesentium repellendus numquam laudantium esse molestias minima cum mollitia fugiat? Eum impedit deserunt aliquid ratione.</p> </section> <section class="values"> <h2>Our Values</h2> <ul> <li>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li> <li>Officia reiciendis illum temporibus. Praesentium repellat, iste officiis?</li> <li>Quos facere enim officiis, recusandae inventore veritatis id.</li> <li>Iste deleniti doloremque dignissimos, voluptate obcaecati velit optio.</li> <li>Ut non enim, dolore saepe minus soluta illum?</li> <li>Enim iure odit soluta laboriosam quis cupiditate eveniet.</li> </ul> </section> <section class="team"> <h2>Our Team</h2> <h3>Marketing</h3> <ul> <li>Lorem ipsum.</li> <li>Voluptates, cupiditate.</li> <li>Quia, ad?</li> <li>Facere, blanditiis!</li> </ul> <h3>Social</h3> <ul> <li>Lorem ipsum.</li> <li>Voluptates, cupiditate.</li> <li>Quia, ad?</li> <li>Facere, blanditiis!</li> </ul> <h3>PR</h3> <ul> <li>Lorem ipsum.</li> <li>Voluptates, cupiditate.</li> <li>Quia, ad?</li> <li>Facere, blanditiis!</li> </ul> </section>
There is a clear heading structure in this markup (i.e., h1> h2> h3).
But let me say that it was agreed that the heading "Our team" <h2> does not need to be shown, as this is implied by visual design. However, this is important for a good document structure (for reasons of accessibility).
We...
Show the heading "Our team" <h2> for screen readers and search engines using the ".visuallyhidden" class? (i.e., one that hides content off the screen).
Change all <h3> in the command section as <h2> s? This does not seem to be correct in terms of content, as they feel that they should be kept under their own heading.
Skip the heading "Our Team" <h2> and go straight to <h3> . Skipping heading levels is also wrong.
Sidenote
I noticed that gov.uk (often called a good accessibility site) does this. They hide <h1> for the "All Categories" heading. In addition, they hide <h2> in the footer for "Support Links"
https://www.gov.uk/browse/benefits
Hiding the headlines seems reasonable, but I saw how many people post information about how Google will view this as a black hat SEO tactic.
I suppose that in order to cause any punishment from Google, it would take much more than a few hidden headers, but maybe doing it on <h1> would be a problem.
Any thoughts on this will be appreciated!