WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Heading without contents

for

From: Sandy Feldman
Date: Jan 4, 2023 7:50AM


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

https://www.w3.org/TR/2011/WD-html5-author-20110809/the-hgroup-element.html

It looks it's supported by modern browsers

https://caniuse.com/?search=%3Chgroup%3E


Sandy

https://sandyfeldman.com
https://www.a11yready.com


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
>
>