WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Focus order vs Error message

for

From: glen walker
Date: Oct 23, 2021 2:59PM


That's why I love this distribution list - I'm always learning something
new. Honestly, I had never heard of the output element. I suppose it
makes sense since there's an input element. Looks like an output element
has a default role of "status", and "status" has an implicit
aria-live="polite" and aria-atomic="true". So, yes, an output element is a
live region. Having an output element is probably more semantic than a div
with aria-live but I'm not sure any screen readers say anything different
for an output element. I guess the only advantage is that you don't have
to type aria-live and aria-atomic.

On Sat, Oct 23, 2021 at 2:20 PM < <EMAIL REMOVED> > wrote:

> Would you ever use the Output element as the container for error messages?
> I have experimented with the 3 main Windows browsers and Safari on iOS.
> They all seem to use this as a live region.
>
> Jeff Gutsell
>
>