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

If this indeed the case, appending “and has content” or “except when it is void of content” to the first paragraph would suffice if you ask me. 

—Michiel

> On 07 Jan 2016, at 16:50, Bryan Garaventa <bryan.garaventa@ssbbartgroup.com> wrote:
> 
> 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.

Received on Thursday, 7 January 2016 16:13:19 UTC