Open GoogleCodeExporter opened 9 years ago
[deleted comment]
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
Original issue reported on code.google.com by
cab...@gmail.com
on 12 Mar 2013 at 4:26