WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Concurrent use of aria-describedby and aria-activedescendant

for

From: Lucy Greco
Date: Jul 22, 2011 9:03AM


I will look at it tonight thanks

Lucy Greco
Assistive Technology Specialist
Disabled Student's Program UC Berkeley
(510) 643-7591
http://attlc.berkeley.edu
http://webaccess.berkeley.edu

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Ney André de Mello Zunino
Sent: Friday, July 22, 2011 6:56 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Concurrent use of aria-describedby and aria-activedescendant

On 21/07/2011 19:20, Lucy Greco wrote:
> could i see a sample of this I can't picture what you are trying

Hello.

Thanks for your response. I created a sample and posted its three files onto Pastebin. Be sure to name the files accordingly on your local file system.

teste09.html
http://pastebin.com/rRNzuj4p

teste09.js
http://pastebin.com/RmYk2wvD

teste09.css
http://pastebin.com/nZNCiBcp

When you open the sample page and use TAB to move focus to the grid component, you will notice that the grid description is not spoken by JAWS. Instead, only the value associated with the grid's current cell (as given by the /aria-activedescendant/ attribute) gets read.

You can try commenting out the fifth line in teste09.js (shown below) to get the grid's description to be read.

updateGrid(grid, function() {});

I have actually managed to get my desired outcome by using a time-out but I see this as a fragile sort of kludge. Replace the javascript line above with the following to hear what the expected results are:

setTimeout(function() { updateGrid(grid, function() {}); }, 3000);

Thank you for your time.

Regards,

--
Ney André de Mello Zunino
Pesquisa e Desenvolvimento
Softplan/Poligraph
Sistema da Qualidade Certificado ISO9001:2008
Fone/Fax: 0xx(48) 3027-8000
http://www.softplan.com.br/