E-mail List Archives
Re: aria-required="true" and required
From: Robert Fentress
Date: Jan 5, 2016 9:39AM
- Next message: Robert Fentress: "Re: Checkbox Disclosure"
- Previous message: Robert Fentress: "Checkbox Disclosure"
- Next message in Thread: Sailesh Panchang: "Re: aria-required="true" and required"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: aria-required="true" and required"
- View all messages in this Thread
Wouldn't it depend on the circumstance? If there are multiple required
fields, I don't know that I like having the focus stolen like that. I
think I might rather handle it myself.
Best,
Rob
On Tue, Jan 5, 2016 at 9:28 AM, Birkir R. Gunnarsson <
<EMAIL REMOVED> > wrote:
> The html5 required is superior to aria-required="true" in that, if the
> user does not fill in a required field and then tries to submit the
> form, the html5 supporting browser moves the user focus back to the
> first empty required field, no Javascript needed.
> There are browser/a.t. combinations that expose aria-required="true"
> but do not support the html5 required attribute, though as html5
> support improves these combinations will eventually disappear (or we
> hope so).
>
> Keep in mind that aria-required, just like any other ARIA attribute,
> does not imply functionality. It only communicates the fact taht the
> field is required to the user. The developer has to make sure to check
> for those fields and expose the desired error indication to the user.
> -Birkir
>
>
>
> On 1/5/16, Marc Solomon < <EMAIL REMOVED> > wrote:
> > If the web browser being used doesn't support HTML5, the aria-required
> > attribute could serve as a fall back mechanism for AT support.
> > Marc
> >
> >
- Next message: Robert Fentress: "Re: Checkbox Disclosure"
- Previous message: Robert Fentress: "Checkbox Disclosure"
- Next message in Thread: Sailesh Panchang: "Re: aria-required="true" and required"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: aria-required="true" and required"
- View all messages in this Thread