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

If the Live region contains different elements, it is output incorrectly (IE 11, Firefox) #295

Open
JAWS-test opened this issue Sep 8, 2019 · 0 comments

Comments

@JAWS-test
Copy link

JAWS-test commented Sep 8, 2019

Summary

If the Live region contains different elements, it is output incorrectly (IE 11, Firefox)

  1. save as HTML file:
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>live region</title>
	</head>
	<body>
		<div aria-live=polite id=1></div>
		<button onClick="document.getElementById('1').innerHTML='<a href=https://www.w3.org/TR/wai-aria-1.1/#alert>ARIA 1.1</a><h2>role=alert</h2><p>Indicates whether assistive technologies will</p><ul><li>present all,<li>or only parts of,</ul><section>the changed region based on the change notifications defined by the <code>aria-relevant</code> attribute</section>';">Alert</button>	
	</body>	
</html> 
  1. Press the button

Expected result

  • Consistent output between browsers
  • The entire content of the live region is output once.

Actual result

  • Different output from browser to browser
  • Firefox: The entire content is output twice. Depending on the order of the elements, sometimes only certain elements are output 2x (e.g. the heading).
  • IE 11: The content is only output up to the first link
  • Chrome: ok
  • The problems also occur when using roles for Live Region (alert, status etc.) instead of aria-live.

see also: w3c/aria-practices#78 and many other problems with live regions: https://github.com/FreedomScientific/VFO-standards-support/issues?q=live+region

Additional Information

JAWS version and build number

JAWS 2019.1907.42

Operating System and version

Windows 8

Browser and version:

Chrome 76.0.3809.100
Firefox 68.0.2
Internet Explorer 11.0.9600.19431

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

2 participants