WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: building accessible javascript accordions?

for

From: Alastair Campbell
Date: Aug 1, 2013 8:19AM


Paul J. Adam wrote:
> Role=application should likely be avoided.

Yep, I took it off for the example I was testing with.


> NVDA can manually ESCape from forms mode using the ESC key.

Yes (and I'm used to the sound effects for that now!), but even
without a role of application, it enters forms mode if you tab to an
accordion-heading. Then everything changes.


> Really all you need is aria-expanded=true/false.

Perhaps, but then you wouldn't be following the authoring practices
which dictate the actions for the arrow and tab keys.

-Alastair