Sign in to follow this  
Followers 0
astralaaron

aria-live="assertive" without role="alert" firefox

3 posts in this topic

Is there any way to make aria-live="assertive" work on firefox without having to use role="alert"?   By the way this is using firefox on windows with JAWS.  aria-live with mac on firefox doesn't work.  In the jsfiddle example link below, the live element has role="alert" and it works but if you remove the role="alert" it won't work.  The reason I want to get this working without the role="alert" is because JAWS announces "Alert" before each message which when the role is set to alert.

https://jsfiddle.net/st5vnsd9/16/

 

Thank you everyone

Share this post


Link to post
Share on other sites

I think this may be a (hopefully temporary) issue with Firefox and aria-live as I can see there are pages written about aria-live with examples on the Mozilla Developer website: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions  The example's don't have role="alert".   I recently noticed a popup alert when opening firefox while running JAWS which mentions that "some accessibility features are disabled due to conflicts with new firefox features".

So I guess all there is to do at this point is hope they fix this. Chat areas using aria-live as it is right now would be terrible with it announcing "ALERT!" before each new message.

Share this post


Link to post
Share on other sites

I'm glad I'm not working on the "bleeding edge" of things. All you can do is read the available MDN documentation and try different options.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0