WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS 10 and Hidden Text

for

From: Terrill Thompson
Date: Mar 23, 2009 4:20PM


Hi Al,

The ARIA on my example page was not intended to be a recommendation for how
to hide text. It's just a test to see whether the "aria-labeledby" attribute
overrides all methods of hiding content using CSS. This would be a handy
method on a page with dynamic content, where you didn't want anyone,
including screen readers, to see the content initially, but you wanted that
content to be rendered to everyone later, triggered by certain events.

It actually does work in browsers that support ARIA. I tested it in Firefox
3, and JAWS 10 read expanded labels for all three buttons, and these
expanded labels had been hidden using visibility:hidden, display:none, and
off-screen positioning, respectively. It doesn't work in IE7, but I suspect
it works in IE8 - I haven't tested that.

Terry

>