WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best way to hide headings from visual users while keeping them in the outline

for

From: Jared Smith
Date: Apr 22, 2013 8:55AM


On Mon, Apr 22, 2013 at 8:47 AM, Dave Merrill wrote:
> Do readers typically leave hidden content out of the outline?

It depends on how it is hidden. If display:none or visibility:hidden,
etc. is used, it is removed from the document altogether. If it's
hidden off-screen or with CSS clip, then all of the semantics of that
element remain intact. An heading that is visually hidden off-screen
would still be part of the outline, appear in the heading list, be
navigable, etc., as if it weren't hidden at all.

Jared