E-mail List Archives
Re: Focus order vs Error message
From: Jonathan Cohn
Date: Oct 23, 2021 2:58PM
- Next message: glen walker: "Re: Focus order vs Error message"
- Previous message: jeffgutsell@fuse.net: "Re: Focus order vs Error message"
- Next message in Thread: glen walker: "Re: Focus order vs Error message"
- Previous message in Thread: jeffgutsell@fuse.net: "Re: Focus order vs Error message"
- View all messages in this Thread
Well, I can't answer your first question, but the output element does have a default role of "status" which means it will be a live region with value of value of polite and an implicit .
For divs with role = status the ARIA documentation recommends using a aria-controls be set to make an explicit connection. The output element does automatically create a relationship with a form, but I expect a more explicit relationship with a input element would be required.
https://w3c.github.io/aria/#status
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
Jonathan
Best wishes,
Jonathan Cohn
> On Oct 23, 2021, at 16:20, <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
>
>
>
- Next message: glen walker: "Re: Focus order vs Error message"
- Previous message: jeffgutsell@fuse.net: "Re: Focus order vs Error message"
- Next message in Thread: glen walker: "Re: Focus order vs Error message"
- Previous message in Thread: jeffgutsell@fuse.net: "Re: Focus order vs Error message"
- View all messages in this Thread