SMN9005 / google-axs-chrome

Automatically exported from code.google.com/p/google-axs-chrome
0 stars 0 forks source link

ChromeVox Aria-live not reading on PC #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've set my web application's error messages to have the following attributes: 
role="alert" aria-live="assertive" aria-relevant="all". in the hope that when 
an error occurs the user will be notified automatically of the error.

When an error occurs on my MAC, the contents of the error message is read 
automatically. However, on my PC, it does not read automatically. 

MAC = OSX (10.8.2) using Chrome (Version 24.0.1312.57) and ChromeVox (1.25.0)
PC    = Win 7 SP1 using Chrome (Version 25.0.1364.160) and ChromVox  (1.25.0)

Are live regions not supported on the PC version of ChromVox? Is there 
something else i can do to make my error message read automatically?

Original issue reported on code.google.com by cab...@gmail.com on 12 Mar 2013 at 4:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
My previous comment:

Chromevox is not speaking aria-live at all for me, on mac or pc. 

MAC = OSX 10.9.3 using Chrome 35.0.1916.114 and Chromevox 1.31.4
PC = Windows 7 SP1 using Chrome 35.0.1916.114 m and Chromevox  1.31.4

It looks like there is also another open ticket regarding aria-live and 
chromevox:
https://code.google.com/p/google-axs-chrome/issues/detail?id=17

UPDATE:

I was able to get aria-live to work by adding aria-atomic="true" to the content 
that was being added/updated. This did not seem to cause any cross browser 
issues but I worry that it may only be because aria-atomic is not supported in 
other screen readers/browsers. My only worry with this setup is that once other 
SR/Browsers start supporting aria-atomic that the content will be read twice. 

My code looked like so:
<label aria-live="polite">Label</label>

If there was an error on the input then the label would be updated to look so 
via JS:
<label aria-live="polite">Label<strong aria-atomic="true">Error</strong></label>

This would trigger chromevox to only read 'error', if aria-atomic was added to 
the label tag then it would read "label, error".

I also tested this set up with:
JAWS - IE11, FF29, Chrome 35
Voiceover - Chrome35, FF29, Safari7
NVDA - IE11, FF not sure on version, Chrome not sure on version (NVDA always 
reads the whole label and error no matter if aria-atomic is present)

Original comment by Bondy...@gmail.com on 10 Jun 2014 at 6:12