WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Does this Javascript bring focus to expanded content?

for

From: Vincent Young
Date: Feb 8, 2012 11:18AM


I don't think this will work. You are trying to focus an element that can
not receive focus. Take a look at how I did it in the example I sent
yesterday.

On Wed, Feb 8, 2012 at 9:43 AM, Angela French < <EMAIL REMOVED> > wrote:

> I wrote some javascript some time ago in an effort to bring focus to
> content that is revealed when a div's display property is changed from
> "none" to "block". Now that I'm working on an accessible solution to
> collapsing content, I'm wondering if my old test script would work or not.
> I'd appreciate any feedback. Here is the link:
> http://sbctc.edu/testexpandingcontent.html .
>
> Thanks,
>
> Angela French
> Internet Specialist
> State Board for Community and Technical Colleges
> 360-704-4316
> <EMAIL REMOVED>
> http://www.checkoutacollege.com/
>
>