WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] Temporary error alerts

for

From: Isabel Holdsworth
Date: Oct 1, 2018 3:15AM


Thanks all. I've tried so many variations, and this jQuery code works
well in JAWS and NVDA, and hopefully with VoiceOver. I think I'm going
with it.

function throw_error(el, msg) {
$(el).text(msg);
setTimeout(function() {
$(el).fadeOut(function(){
$(el).empty().show();
});
}, 1800);
} //throw_error

On 28/09/2018, Brian Lovely via WebAIM-Forum
< <EMAIL REMOVED> > wrote:
> Glen, you are so right. I have it backwards.
>
> On Fri, Sep 28, 2018 at 12:44 PM glen walker < <EMAIL REMOVED> > wrote:
>
>> Hi Brian,
>>
>> Can you clarify your comment that "Aria-live conveys a role of alert"?
>> I'm
>> guessing it was a typo.
>>
>> Aria-live can be "polite" or "assertive. It doesn't convey any role.
>>
>> If you use role="alert", then that conveys an aria-live value of
>> assertive.
>>
>> Glen
>> >> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.webaim.org_&d=DwICAg&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=nA3L5qBjLdo-DJ8qQBz88lq5Xb3jw-WFZTeJjcwjLdE&m=IEgCgyhRXUUV3ZOutLalXFcGkeQKUOBwlfh9gbukNX4&s=RnCjfw7PQ19C1PnI3hA74trD6yMu-uy_57xYIdc3oCA&e=
>> List archives at
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__webaim.org_discussion_archives&d=DwICAg&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=nA3L5qBjLdo-DJ8qQBz88lq5Xb3jw-WFZTeJjcwjLdE&m=IEgCgyhRXUUV3ZOutLalXFcGkeQKUOBwlfh9gbukNX4&s=GuvgbrK5vPz25Mttg7Z0GOJnV8_igpMEkCOzeQElPv8&e=
>> >>
>
>
> --
> *Brian Lovely*
> Digital Accessibility
> 804.389.1064
> >
> The information contained in this e-mail is confidential and/or proprietary
> to Capital One and/or its affiliates and may only be used solely in
> performance of work or services for Capital One. The information transmitted
> herewith is intended only for use by the individual or entity to which it is
> addressed. If the reader of this message is not the intended recipient, you
> are hereby notified that any review, retransmission, dissemination,
> distribution, copying or other use of, or taking of any action in reliance
> upon this information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the material
> from your computer.
> > > > >