WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Ney André de Mello Zunino
Date: Jul 22, 2011 7:54AM


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/