WebView v3.3.17 aria-live repeated twice


:backhand_index_pointing_right: Bug Description


1. Summary

There is a bug in Amazon Vega WebView v3.3.17 where content inside an aria-live region is announced twice. This is reproducible with a minimal standalone HTML page .

Bug Severity
Select one that applies

  • Impacts operation of app
  • Blocks current development
  • Improvement suggestion
  • Issue with documentation (If selected, please share the doc link and describe the issue)
  • Other

2. Steps to Reproduce

  1. Create a simple HTML page containing an aria-live region.

  2. Load that page inside Amazon Vega WebView v3.3.17.

  3. Trigger an update to the live region after initial page load.

3. Observed Behavior

When the aria-live region updates, the same message is announced twice instead of once.

4. Expected Behavior

When the aria-live region updates, the new content should be announced exactly once.

4.a Possible Root Cause & Temporary Workaround

This appears to be a bug in the currently public Vega WebView v3.3.17 package.
We currently have no workaround right now, except waiting for a new version of WebView to fix this issue.

5. Logs or crash report

N/A

6. Environment

  • SDK Version: Active SDK Version: 0.22.6759
    Vega CLI Version: 1.2.22

7. Example Code Snippet / Screenshots / Screengrabs

N/A


:backhand_index_pointing_right: Playback Issues


N/A


:backhand_index_pointing_right: Additional Context


Since newer WebView versions are expected in Vega v0.23, WebView upcoming update, we would like to confirm whether this accessibility issue is already known/fixed in the upcoming release, thanks!

Hi @lamoule,

Thank you for reporting this. The aria-live double-announcement issue on WebView v3.3.17 is noted.

A couple of follow-up questions to help us investigate:

  1. Could you share the minimal HTML page you mentioned that reproduces this?
  2. Is this happening with both aria-live=“polite” and aria-live=“assertive”, or only one?
  3. Which screen reader/accessibility service is active when you observe the double announcement? (VoiceView?)

Regarding your question about v0.23 - I’m checking internally whether this is addressed in the upcoming WebView update and will confirm.

Warm Regards,
Ivy

Hey @Ivy thanks for the quick reply!

  1.  
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>aria-live test</title>
</head>
<body>
<div aria-live="assertive" id="log"></div>
<script>
document.getElementById('log').textContent = 'this text will be said twice';
</script>
</body>
</html>
  1. This is happening with either polite or assertive.
  2. This is using VoiceView on FireStick Select 4K

Hey @Ivy , i have tried the new webview 3.5.7 https://www.npmjs.com/package/@amazon-devices/webview/v/3.5.7, and i still reproduce the double announcement with aria-live with a simple HTML example.

Hello @lamoule

We have verified the issue and worked on the fix. It will be included in one of our next releases.
Thank you for helping us make VEGA better!!

Warm regards,
Ivy