WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-required="true" and required

for

From: Sailesh Panchang
Date: Jan 5, 2016 12:53PM


This might be useful
http://www.mindoversight.com/demo/Html5ElementTable.php

Thanks,
Sailesh
On 1/5/16, Robert Fentress < <EMAIL REMOVED> > wrote:
> 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
>> >
>> > -----Original Message-----
>> > From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
>> Behalf
>> > Of Ócsvári Áron
>> > Sent: Tuesday, January 5, 2016 9:11 AM
>> > To: WebAIM Discussion List < <EMAIL REMOVED> >
>> > Subject: Re: [WebAIM] aria-required="true" and required
>> >
>> > Hello,
>> > I think no, I tried your code, and NVDA recognised as a required field.
>> > Regards,
>> > Aron
>> > 2016.01.05. 14:58 keltezéssel, Nancy Johnson írta:
>> >> Form inputs.. If you required in an input <label
>> >> for="sample">sample </label> <input type="text" required id="sample">
>> >>
>> >> Do you need to add aria-required="true" as well?
>> >>
>> >> Thanks
>> >>
>> >> Nancy
>> >> >> >> >> >> >> >> >> >
>> > >> > >> > >> > >> > >> > >> > >> > >> >
>>
>>
>> --
>> Work hard. Have fun. Make history.
>> >> >> >> >>
>
>
>
> --
> Robert Fentress
> Senior Accessibility Solutions Designer
> 540.231.1255
>
> Technology-enhanced Learning & Online Strategies
> Assistive Technologies
> 1180 Torgersen Hall
> 620 Drillfield Drive (0434)
> Blacksburg, Virginia 24061
> > > > >