standards-support
standards-support copied to clipboard
Change of alternative text of img within a Live Region is output incorrectly (Firefox)
Summary
Change of alternative text of img within a Live Region is output incorrectly (Firefox)
- Save as HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>live region</title>
</head>
<body>
<div role=status>
<img alt=test id=1>
</div>
<button onClick="document.getElementById('1').setAttribute('alt','new alt');">Change</button>
<button onClick="document.getElementById('1').setAttribute('alt','image');">Change</button>
<button onClick="document.getElementById('1').setAttribute('alt','change');">Change</button>
<button onClick="document.getElementById('1').setAttribute('alt','alternative text');">Change</button>
</body>
</html>
- Activate the buttons
Expected result
Change of alternative text of the image is output correctly
Actual result
- Firefox: First the new alternative text is output and then a part of the new alternative text (two or more letters).
- IE 11, Chome: ok
See also https://github.com/w3c/aria-practices/issues/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