Jump to content

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


astralaaron

Recommended Posts

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

Link to comment
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.

Link to comment
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
×
×
  • Create New...