W3C home > Mailing lists > Public > public-aria@w3.org > January 2016

FW: [nvda] NVDA incorrectly announces the presence of empty Alert live regions when dynamically added to the DOM (#5657)

From: Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>
Date: Thu, 7 Jan 2016 15:50:30 +0000
To: ARIA Working Group <public-aria@w3.org>
Message-ID: <SN1PR0301MB1981112007FB4989E8E7CF7D98F50@SN1PR0301MB1981.namprd03.prod.outlook.com>
Is this right? That doesn’t sound right to me.

From: James Teh [mailto:notifications@github.com]
Sent: Wednesday, January 06, 2016 4:14 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Bryan Garaventa <bryan.garaventa@whatsock.com>
Subject: Re: [nvda] NVDA incorrectly announces the presence of empty Alert live regions when dynamically added to the DOM (#5657)


role="alert" gets treated somewhat differently to normal live regions. As noted in the spec:

If the operating system allows, the user agent SHOULD fire a system alert event through the accessibility API when the WAI-ARIA alert is created.

Firefox does fire such an event, regardless of whether there is content in the alert. According to the above, this is not contrary to the spec. NVDA responds accordingly by reporting the alert.

It's true that obviously nothing could be announced for an empty live region (since live region announcements are just the text). However, an alert is special in that it reports "alert" as well.

I'd probably agree that this isn't useful behaviour, but if changing this is desired, it'll need to be addressed in the spec and then the browsers.

—
Reply to this email directly or view it on GitHub<https://github.com/nvaccess/nvda/issues/5657#issuecomment-169505571>.
Received on Thursday, 7 January 2016 15:51:03 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:23:18 UTC