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: DANIEL.KINNUNEN
Date: Aug 3, 2011 4:39PM


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