WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [EXTERNAL]Best way to prevent screen reader reading aria-live region in browse mode?

for

From: Mark Magennis
Date: Jun 19, 2019 7:35AM


Thanks for the reply Dan.

I'm not hiding anything that's on screen though. This feedback message is only intended for screen reader users.

Mark


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Swift, Daniel P.
Sent: 19 June 2019 13:41
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [EXTERNAL] Re: [WebAIM] Best way to prevent screen reader reading aria-live region in browse mode?

Mark:

I'm pretty sure automatically closing/hiding it is a violation. I'd suggest including an option for the user to close it - on user interaction changing it to display:none. That would work for all users.

Dan Swift
Senior Web Specialist
Enterprise Services
West Chester University
610.738.0589

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Mark Magennis
Sent: Wednesday, June 19, 2019 8:37 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] Best way to prevent screen reader reading aria-live region in browse mode?

Hi,

Suppose I have a <span role="alert"> and I put some content into it, say "record deleted". What would you say is the best way to prevent a screen reader from reading this again by coming across it while browsing?


1. Remove the content after a few seconds
2. Put it somewhere that the screen reader can't reach
3. Add aria-hidden="true"
4. Something else

Thanks,
Mark

Mark Magennis
Skillsoft | mobile: +353 87 60 60 162
Accessibility Specialist
[cid:image001.jpg@01D4B932.D0127180]<http://www.skillsoft.com/>;