WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Non-dynamic alerts in web page

for

From: joe@a11yeval.com
Date: May 4, 2020 1:33PM


Hi Todd,

Long time no see. I would not use any kind of aria-live region for these
static announcements. My Personal recommendation is two fold:

1. Place in high in the reading order, depending on Importance. This could
be as high as right after the skip navigation link. This may not always be
easy or possible.
2. Put it in an element with role="region" (my suggestion is <div> or
<section>) with an informative aria-label as you suggested. Depending on
the criticality of the message, you could start the aria-label attribute
with something like "Important:".

Thankx,
Joe Humbert
Accessibility Champion
Android & iOS Accessibility Novice

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
Weissenberger, T M
Sent: Monday, May 4, 2020 1:44 PM
To: <EMAIL REMOVED>
Subject: [WebAIM] Non-dynamic alerts in web page

Colleagues,

My understanding of the ARIA alert is that is announces assertively to
screen readers when an element with the alert role is dynamically generated
or revealed. Is there an agreed-upon best practice for when this information
is not presented dynamically, but is instead static? I'm thinking about
things like public safety announcements or the many COVID-19 updates we're
now seeing pinned to the beginning of a webpage.

Should we be using <section> or a region role with an informative
aria-label? Is there some better way to emphasize this specialized,
high-level info?

Any thoughts are welcome.

Kind regards,
T.M.

T.M. Weissenberger
IT Accessibility Coordinator
University of Iowa

2800 University Capitol Centre
200 S. Clinton Street
Iowa City, IA 52242

<EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
319.384.3323

http://webaim.org/discussion/archives