-
-
Notifications
You must be signed in to change notification settings - Fork 783
EdgeHTML: support aria-role=alert #8466
Copy link
Copy link
Closed
Labels
z app/edge (archived)use app/edge/anaheimuse app/edge/anaheimz app/edge/spartan (archived)MS browser, replaced in 2019 by Anaheim. NVDA access via UIA.MS browser, replaced in 2019 by Anaheim. NVDA access via UIA.
Metadata
Metadata
Assignees
Labels
z app/edge (archived)use app/edge/anaheimuse app/edge/anaheimz app/edge/spartan (archived)MS browser, replaced in 2019 by Anaheim. NVDA access via UIA.MS browser, replaced in 2019 by Anaheim. NVDA access via UIA.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hi,
Somewhat related to #8448: In Microsoft Edge, aria-role=alert is not supported yet.
Steps to reproduce:
Actual behavior:
No feedback from NVDA in Microsoft Edge.
Expected behavior:
NVDA should announce alert text.
System configuration:
NVDA Installed/portable/running from source:
Installed
NVDA version:
Next.15445
Windows version:
Windows 10 Version 1803
Name and version of other software in use when reproducing the issue:
Microsoft Edge
Other information about your system:
Multiple systems, all part of Windows Insider Program.
Other questions:
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA?
Yes - master, 2018.2.1
Technical details
Alerts are fired as live region changed events. It was used to be system alert, but apparently this has changed (need to verify this). Probing the element with ariaProperties says role=alert, which should then allow NVDAObjects.UIA.edge.EdgeNode.event_liveRegionChanged handler to fetch alert texts and announce it. Note that the name might be an empty string, but child count might be greater than 1, in which case probing the children should do.
Thanks.