WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Opinion request: submit sucess banner thatdisappearsafter 5 sec

for

From: Pierre Hachey
Date: Feb 10, 2017 7:01AM


Hi Angela, It's an overlay banner that would be visible to user on all devices. The role alert advise the screen reader user and the aria-label tells screen reader user that the message disappears in 5 seconds.
From: WebAIM-Forum < <EMAIL REMOVED> > on behalf of Angela French < <EMAIL REMOVED> >
Sent: February 9, 2017 7:00:10 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Opinion request: submit sucess banner that disappears after 5 sec

Depending on the size of the device and whether necessary scrolling limits the view, would even a sighted user see it? 5 seconds seems pretty short to me.

Angela French
SBCTC

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Pierre Hachey
Sent: Thursday, February 09, 2017 3:41 PM
To: <EMAIL REMOVED>
Subject: [WebAIM] Opinion request: submit sucess banner that disappears after 5 sec

Hi community,
I wonder if this would be acceptable under WCAG 2.0A or AA.
Upon submit the visual user is presented a banner just under the main menu where it says success then banner automatically disappears after 5 sec.

I have set a role=alert on the banner so thatvthe screen reader reads it. However, the fact that it automatically disappears would this be an accessibility prob?
I did add and aria-label="success message disappears in 5 seconds"

What do you think?
Thanks
Pete