E-mail List Archives
Re: Aria Alert and Progress Loaders
From: Patrick H. Lauke
Date: Sep 10, 2020 6:59AM
- Next message: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Previous message: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- View all messages in this Thread
On 10/09/2020 13:47, Birkir R. Gunnarsson wrote:
> I've found a similar issue in that content of elements with
> role="alert" gets announced on page load in Chrome (I have not tested
> Edge), but does not get announced in Firefox.
> In fact, in Firefox, you have no idea what alerts are on the page,
> unless they get dynamically injected.
And this (alerts announcing after page load, once content is actually
injected into the container) is how they generally should behave. The
fact that some browser/AT combos fire an explicit announcement already
on page load is more a bug/inconsistency than a feature. In general, the
process should be:
- have a container that's empty on page load, with aria-live="..." or a
relevant (implicit or explicit) live region role.
- once the page is loaded, you can update the content dynamically, and
this change will trigger an announcement by AT.
Getting back to the thread starter: it would obviously be good to see
this in action, as it's difficult to debug/offer advice on this purely
theoretically.
P
--
Patrick H. Lauke
https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Previous message: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Aria Alert and Progress Loaders"
- View all messages in this Thread