Skip to content

EdgeHTML: support aria-role=alert #8466

@josephsl

Description

@josephsl

Hi,

Somewhat related to #8448: In Microsoft Edge, aria-role=alert is not supported yet.

Steps to reproduce:

  1. Visit the following site with multiple web browsers, including with Edge: https://www.w3.org/TR/wai-aria-practices/examples/alert/index.html
  2. Click "trigger alert" button.

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions