FreedomScientific / standards-support

Contains documentation for Vispero software support of Web standards
https://freedomscientific.github.io/standards-support/
GNU General Public License v3.0
108 stars 11 forks source link

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

Open JAWS-test opened 5 years ago

JAWS-test commented 5 years ago

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> 
  2. Navigate to all buttons

Expected result

Actual result

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

lamador commented 4 years ago

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:

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

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.