WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Expander links

for

From: Steven Henderson
Date: Apr 14, 2010 10:27AM


Hi Jared,

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!? That way, the anchor links
would link to correct content for screen readers and keyboard users with
javascript and everyone else with javascript could update the position of
the hidden content and thus set focus to the correct place on the page
(though getting browsers to focus correctly could be difficult from
recollection).

Steven