WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Does this Javascript bring focus to expanded content?

for

From: Angela French
Date: Feb 8, 2012 3:03PM


I'd be appreciative of another look at example #3: http://sbctc.edu/testexpandingcontent3.html
Angela French



>... there's a issue with your scripting - it needs to be modified so it changes
>the aria-expanded state of the link that has been activated. Your code has
>multiple links with id="expandlink", so the aria attribute is only updated on
>the first link.
>
>Jared
>