Jump to content
Sign in to follow this  
astralaaron

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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...