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: Birkir R. Gunnarsson
Date: Jun 19, 2019 7:56AM


If the deletion happens as a result of user activating a link or a
button it does not violatt WCAG 3.2.1 or 3.2.2
I'd suggest either item #1 (the basic interface of GMail does this
very wel) or add a "close" button to the screen reader warning, you
can use tabindex="-1' on it, since it is intended for screen reader
browse mode and screen reader users can activate a button from browse
mode without it being focusable. If it were focusable it would cause
confusion for sighted keyboard only users.
Or you could code a modal dialog for all users with the message "user
deleted" and a "close" button.
I am sure other users would benefit.


On 6/19/19, Mark Magennis < <EMAIL REMOVED> > wrote:
> 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/>;
>
> > > > > > > > >


--
Work hard. Have fun. Make history.