WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Heading without contents

for

From: chagnon@pubcom.com
Date: Jan 4, 2023 3:28PM


Quote: I believe this is not a good practice to have a heading without any content below it. EndQuote

Generally, yes.
But what you described is lower-level content (the H2) following the H1. So the H1 does indeed have content — another heading level and its content. Your H1 is not empty.

This is a very common construction in structured documents.
Yes, it can be confusing to some screen-reader users, but it's not illogical nor incorrect.

— — —
Bevi Chagnon | Designer, Accessibility Technician | <EMAIL REMOVED>
— — —
PubCom: Technologists for Accessible Design + Publishing
consulting ' training ' development ' design ' sec. 508 services
Upcoming classes at www.PubCom.com/classes
— — —
US Delegate to the ISO committees for the PDF and PDF/UA standards


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of allyssa jessicon
Sent: Wednesday, January 4, 2023 7:16 AM
To: <EMAIL REMOVED>
Subject: [WebAIM] Heading without contents

Hello everyone,

A very good morning and happy new year 2023.

Let me go straight into the question. Suppose if there is a heading but there is no content below it and the heading is also an h1, the top-level heading in the page. I believe this is not a good practice to have a heading without any content below it. Do I sound reasonable?
and avoiding heading without content below it is a best practice?

Appreciate each opinion and corrections.


Regards,
Alysa.