accessibility-insights-web icon indicating copy to clipboard operation
accessibility-insights-web copied to clipboard

"Failure details copied" toast message is not announced by Narrator on Edge

Open iamrafan opened this issue 4 years ago • 4 comments
trafficstars

Describe the bug

aria-live="polite" is present on the toast message that appears when Copy failure details button is selected in the More options menu on an instance card. But, narrator does not announce this message on the Edge extension.

To Reproduce Steps to reproduce the behavior:

  1. Turn on Narrator
  2. Navigate to https://www.washington.edu/accesscomputing/AU/before.html on Edge
  3. Run Automated checks
  4. Using keyboard, expand the more options button on instance card in details view
  5. Select the copy failure details option
  6. Observe that the toast message (Failure details copied) appears but Narrator does not announce it.

Expected behavior

The Failure details copied toast message should be announce by all the screen readers on both Edge and Chrome extensions

Screenshots

image

Context

  • OS Name & Version: Windows 10 21H1 Build 19043.985
  • AI-Web Version & Environment: Version 2.26.1 Prod
  • Browser Version: Microsoft Edge Version 90.0.818.66 (Official build) (64-bit)
  • Target Page: https://www.washington.edu/accesscomputing/AU/before.html

iamrafan avatar May 25 '21 21:05 iamrafan

In Edge I can reproduce this even with aria-live set to assertive. Focus moves to the closed menu and the Toast is not mentioned. In Chrome Narrator announces the Toast. In both browsers the Toast is announced in the target page "copy failure details" button.

I ran AI-Windows against the Cards UI and target page copy-failure-details button. In both cases the StructureChanged events (ChildAdded) seemed identical.

I am trying to put together a repro in Codepen, but no luck yet (the Toast is announced): https://codepen.io/karansin/pen/eYvEvEM

karanbirsingh avatar May 27 '21 00:05 karanbirsingh

This repros in Narrator + Edge when the aria-live element is a descendent of an li element. Here is a minimal repro: https://codepen.io/karansin/pen/OJpjKgV

Our cards are list items, so it affects us. Will reach out to see if I can report this

karanbirsingh avatar May 27 '21 21:05 karanbirsingh

@karanbirsingh I shared the minimal repro with the TT team and asked them to file a bug on Narrator

iamrafan avatar Jun 02 '21 11:06 iamrafan

An external bug was filed with Narrator by the TT team

iamrafan avatar Oct 13 '21 17:10 iamrafan

Verified the notification "Failure Details copied" is read by Narrator on Edge 105.

peterdur avatar Sep 20 '22 20:09 peterdur