WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: The aria-labelledby attribute must point to an element in the same document.

for

From: Bryan Garaventa
Date: May 14, 2013 4:58PM


Hi,
This recently came up with a client, so if it's helpful, I've pasted the
response below.


Since attachments aren't allowed, the script referred to in the message is
at
http://whatsock.com/tmp/unobtrusive_announce.js.txt
If it's of help.

I've verified this method works correctly using JAWS 12 through 14 in IE8
and 9, in Firefox, and in Chrome;
Using NVDA in IE 8 and 9, in Firefox, and in Chrome;
And using Voiceover in iOS Safari for both iPad/iPhone.

----- Original Message -----
Sent: Friday, May 10, 2013 10:25 AM
Subject: Re: Cross-browser error messaging


That's no problem.

Actually I've stopped developing the external announce method, since this
is already built into AccDC with a more powerful feature set. I've attached
the old method though in a zip, which is the shortened version of what used
to be in AccDC a few years back.

You can read about what it does and how it works at
http://whatsock.com/tsg
Within the section "Web Chat" under Accessible Component Modules.

This uses a concept I refer to as Unobtrusive Announcement, meaning that
what is announced is not bound to the element that is being referenced.

This makes it possible to announce anything, no matter where it is or what
it is, as long as it is textual.

You can see an example of why this is useful by visiting
http://whatsock.com/modules/form_validator_module/demo.htm

Using an iOS touch screen device like an iPhone with Voiceover running,
tap the field "What is the Latin name for our planet?" to start editing. As
you type letters, you will hear Voiceover announce the dynamic help text
that can guide your responses.