WebAIM - Web Accessibility In Mind

E-mail List Archives

Opinion request: submit sucess banner that disappears after 5 sec

for

From: Pierre Hachey
Date: Feb 9, 2017 4:40PM


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