WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Christian Heilmann
Date: Feb 3, 2006 9:45AM


> When JS is off and CSS is off, everything is shown?
> When JS is off and CSS is on, what happens?

^ both the same. Well, almost. You can define a basic style for the
non-javaScript version. JS adds a special class to the list to allow
for a style that only gets applied when JS is available.

that way you can style

#nav { } /* non - JavaScript */
#nav.panel { } /* JavaScript */

> When JS is on and CSS is off (less common scenario, but possible), what happens?

The script still hides and shows the sub-sections as I write directly
to the DOM style attribute instead of applying a class.

> > The scenario I am interested in is screen reader + JS enabled.
>
> I've forwarded it to three experienced screen reader users to give it
> a go. Will let you know what they come back with.

Good. Next geek dinner come around again and you get a drink on me. Or
next time I cycle to king's cross.


--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/