WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Off-left vs. block/none oddity.

for

From: pixeldiva
Date: Feb 3, 2006 7:45AM


On 03/02/06, Christian Heilmann < <EMAIL REMOVED> > wrote:
> The question now is how screen readers deal with the activation and
> navigation in it. If that is fine, I think it is a more obvious choice
> for JavaScript driven menus to go the block/none way - pending you
> don't hide the elements via CSS from the beginning.

The trouble is that more screen readers these days (specifically JAWS
springs to mind, but there are others) are parsing CSS and so if you
use display: none then it doesn't get read out at all.

There's a chart at
http://css-discuss.incutio.com/?page=ScreenreaderVisibility (which you
probably already know about, and if so, I apologise) with testing for
both display: none and visibility: hidden, but screen readers have
moved on a bit since that was done. I tend to take the view that it's
not worth the risk both now and in the future.

--
Ann
http://www.pixeldiva.co.uk