WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is this a problem with ARIA implementation on authoring site or a problem with Jaws?

for

From: Donald Evans
Date: Aug 4, 2011 8:45AM


Here is one way to do it:
http://websiteaccessibility.donaldevans.com/?p=174



On Wed, Aug 3, 2011 at 6:38 PM, < <EMAIL REMOVED> > wrote:

> Hi Birkir,
>
> The link you provide points to a really good example of what not to do on a
> web page, for many reasons.
>
> For your specific question, the problem you see is an authoring problem
> with the expandable text section. The expand/collapse control on the page is
> not using ARIA.
>
> Visually, the control is an image of a plus sign when the section is
> collapsed, or a minus sign when the section is expanded. JavaScript is used
> to show or hide the section, and toggle the image from plus to minus.
> However, the script does not change the alt text for the image to indicate
> whether the section is currently expanded or collapsed. (The script could
> easily be changed to fix that problem.)
>
> In theory, you could ARIA be used to provide the same indication. Of
> course, it would need to be toggled in the JavaScript also. And I have not
> seen great screen reader support yet for ARIA implementations of expandable
> sections, at least for examples I've seen. Maybe others have found better
> examples.
>
> Dan Kinnunen
>
>