WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Expander links

for

From: Jared Smith
Date: Apr 14, 2010 12:09PM


On Wed, Apr 14, 2010 at 9:29 AM, Steven Henderson wrote:

> Maybe I am missing something, but couldn't you get a closer result to what
> you want by specifying a negative position to the content to be expanded via
> javascript, rather than actually hiding it!?

Yes, but this suffers the same problem as the height:0 recommendation
- the off-screen content is still read by screen readers and navigated
by the keyboard before it is expanded. So, it is really only hidden
visually. I want a solution that truly toggles the content existence
to AT rather than just toggles its visual display.

I'm implemented some techniques from
http://www.accessibleculture.org/accessibleTabs/ and have several
combinations of code that work splendidly in IE with JAWS and Window
Eyes. I've given up on NVDA being able to respond to javascript
focus() - it sets initial focus to the new content but the next tab
jumps back up to just below the expander link (e.g., it doesn't actual
change the position in the tab order). Despite implementing many
different strategies, I cannot get Firefox and JAWS 10 to update the
virtual buffer to properly read the newly revealed content - nothing
short of a page refresh seems to be able to get JAWS to detect any
page changes.

Any thoughts?

Jared