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

Live Region: Value in aria-live has no effect #284

Open
JAWS-test opened this issue Sep 3, 2019 · 1 comment
Open

Live Region: Value in aria-live has no effect #284

JAWS-test opened this issue Sep 3, 2019 · 1 comment

Comments

@JAWS-test
Copy link

Summary

Live Region: Value in aria-live has no effect

  1. Save as HTML file:
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>live region</title>
	</head>
	<body>
		<div aria-live=assertive id=1></div>
		<div aria-live=polite id=2></div>
		<div role=alert id=3></div>
		<div role=status id=4></div>
		
		<button onFocus="document.getElementById('1').innerHTML='region1';">live region with aria-live=assertive</button>
		<button onFocus="document.getElementById('2').innerHTML='region2';">live region with aria-live=polite</button>
		<button onFocus="document.getElementById('3').innerHTML='region3';">live region with role=alert</button>
		<button onFocus="document.getElementById('4').innerHTML='region4';">live region with role=status</button>
	</body>
</html> 
  1. Navigate to all buttons

Expected result

  • Correct output according to specification (https://www.w3.org/TR/wai-aria-1.2/#aria-live)
    • role=alert and aria-live=assertive with "highest priority and should be presented the user immediately"
    • role=status and aria-live=polite "at the end of speaking the current sentence or when the user pauses typing"
  • Consistent output between browsers

Actual result

  • Firefox, IE 11, Chrome: value in aria-live has no effect. The output is always after the other output of the screenreader (i.e. assertive is also output like polite)
  • IE 11, Firefox: Only alert is output at the beginning
  • Chrome: Also alert is output at the end

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

@lamador
Copy link

lamador commented Jul 24, 2020

Testing using the latest version of JAWS (2020.2006.12), Chrome (84.0.4147.89), Firefox (78.0.2), IE11 (11.959.18362.0) on Windows 10 produced the following results:

  • JAWS+Chrome: Button name announced before live region for all buttons. Alert role is not announced.
  • JAWS+Firefox/IE11: Button name announced before live region except for button with alert role. Role is announced.

By comparison, NVDA (2020.1) announces the live regions first before the button names in all instances.

  • NVDA+Chrome: Live region announced before button name for all buttons. Alert role is not announced.
  • NVDA+Firefox: Live region announced before button name for all buttons. Alert role is announced.

In summary, updates made in aria-live="assertive" regions are not immediately announced in JAWS with any browser and role="alert" is not announced in Chrome as expected. Detailed information on live region support can be found on the Accessibility Support site.

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