Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVDA ARIA alerts omit messages containing HTML #1337

Closed
nvaccessAuto opened this issue Jan 25, 2011 · 5 comments
Closed

NVDA ARIA alerts omit messages containing HTML #1337

nvaccessAuto opened this issue Jan 25, 2011 · 5 comments

Comments

@nvaccessAuto
Copy link

Reported by wdmartin on 2011-01-25 23:23
In Firefox 3.6.13 and NVDA 2010.2, NVDA will only read alerts aloud if they consist of a string that does not contain HTML. I have built a minimal test case:

http://www.libsys.und.edu/dev/ill/ldap/nvda-test.html

I will also upload a copy of the test case.

The are four ways to update the contents of the alert:

Test 1) Using innerHTML with a plain text string

Test 2) Using innerHTML with a string containing HTML

Test 3) Using the W3C DOM methods to manually create/insert HTML

Test 4) Using the W3C DOM methods to manually insert a plain string

Test 1 is read as "This is test 1 alert This is test 1"

Test 2 is read as "alert"

Test 3 is read as "alert"

Test 4 is read as "This is test 4 alert This is test 4"

This works fine if all you want is an audible message. But if you want a message which is both audible and visible, it makes things more complicated.

@nvaccessAuto
Copy link
Author

Attachment nvda-test.html added by wdmartin on 2011-01-25 23:24
Description:
Test case

@LeonarddeR
Copy link
Collaborator

@jcsteh: Could you restore the attachment to see whether this still occurs

@jcsteh
Copy link
Contributor

jcsteh commented Jul 19, 2017

nvda-test.html

@Adriani90
Copy link
Collaborator

This is working as expected with NVDA 2019.1.1 and Firefox 66.0.3 as well as Chrome 74. All 4 tests are reported by NVDA correctly. In IE this does not work at all. But I guess a fix in IE will highly unlikely.

@Adriani90
Copy link
Collaborator

Closing as works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants