WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Heading without contents

for

From: Karen McCall
Date: Jan 4, 2023 7:58AM


Apologies, I thought we were talking about a document not a web page.

Cheers, Karen

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Sandy Feldman
Sent: Wednesday, January 4, 2023 9:51 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >; Mark Magennis < <EMAIL REMOVED> >
Subject: Re: [WebAIM] [EXTERNAL] Heading without contents

I think using <hgroup> might help here, but I'm not sure. Is it helpful to screen reader users?

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3.org%2FTR%2F2011%2FWD-html5-author-20110809%2Fthe-hgroup-element.html&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9mMyCueQYlxwqK8dVul57JndkHCwfpLiw8JOkEZGXuo%3D&reserved=0

It looks it's supported by modern browsers

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcaniuse.com%2F%3Fsearch%3D%253Chgroup%253E&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kXY19EXGD1ED2G4O4aWNqKJfqTZ5En9Z440NWsWGkRk%3D&reserved=0


Sandy

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsandyfeldman.com%2F&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RK1c%2F29zahrebhPjE4CDR%2FDvU9jfS7oiJQW7ODeL5l0%3D&reserved=0
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.a11yready.com%2F&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata±LV215ShNzGMDxHC8lh4t%2BpCNjMqTsdSnVHzkYwsDY%3D&reserved=0


On 2023-01-04 7:27 a.m., Mark Magennis wrote:
> I agree with you. This could be confusing. It could confuse sighted users who may wonder why the content is missing. It could confuse screen reader users even more because they may wonder whether the content is missing or whether it is there but just not being read by the screen reader. I would suggest a text para saying there is no information available but as specific as possible, e.g. "there are no employment records for this employee".
>
> Mark
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> allyssa jessicon
> Sent: Wednesday 4 January 2023 12:16
> To: <EMAIL REMOVED>
> Subject: [EXTERNAL] [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.
> > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.w
> ebaim.org%2F&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df
> 9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7C
> TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
> I6Mn0%3D%7C3000%7C%7C%7C&sdata=vOSl4pf%2FZ62VW2ICWZoUVZalFh470mbJGfRCH
> m%2FvheI%3D&reserved=0 List archives at
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebaim
> .org%2Fdiscussion%2Farchives&data%7C01%7C%7C42c6597c3b78444ba62f08d
> aee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396
> 465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi
> I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UYWmz9ATtXrFI53DIg8SYjw
> 2SKUBdMxzCitTfLsiJUU%3D&reserved=0
> > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.w
> ebaim.org%2F&data%7C01%7C%7C42c6597c3b78444ba62f08daee631162%7C84df
> 9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396465%7CUnknown%7C
> TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
> I6Mn0%3D%7C3000%7C%7C%7C&sdata=vOSl4pf%2FZ62VW2ICWZoUVZalFh470mbJGfRCH
> m%2FvheI%3D&reserved=0 List archives at
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebaim
> .org%2Fdiscussion%2Farchives&data%7C01%7C%7C42c6597c3b78444ba62f08d
> aee631162%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084406524396
> 465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi
> I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UYWmz9ATtXrFI53DIg8SYjw
> 2SKUBdMxzCitTfLsiJUU%3D&reserved=0
>