WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: AT support for required="true"

for

Number of posts in this thread: 6 (In chronological order)

From: Angela French
Date: Wed, Mar 01 2017 9:55AM
Subject: AT support for required="true"
No previous message | Next message →

Good Morning,

Is it safe to assume that in 2017, using both aria-required="true" and required="true" is no longer required/suggested on required form elements?
I'm assuming that there is adequate screen reader support for required="true" but wanted to get your opinion.


Thank you,

Angela French
Internet/Intranet Specialist
Washington State Board for Community and Technical Colleges
360-704-4316
= EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
www.sbctc.edu<;http://www.sbctc.edu/>;

From: Birkir R. Gunnarsson
Date: Wed, Mar 01 2017 10:10AM
Subject: Re: AT support for required="true"
← Previous message | Next message →

Angela

For HTML5 you just need "required" not required="true" or anything.
And, yes, this is mostly true, support is similar for both by now.
The problem (or feature) using required is that, in browsers that
support it, the browsers will move focus to the field and display a
browser status error message.
If you have custom handling of required field with your own messages,
then they may be overridden if you use required, in that case you need
to mark it visualy and use aria-required="true" for assistive
technologies.
I recommend using the required attribute.




On 3/1/17, Angela French < = EMAIL ADDRESS REMOVED = > wrote:
> Good Morning,
>
> Is it safe to assume that in 2017, using both aria-required="true" and
> required="true" is no longer required/suggested on required form elements?
> I'm assuming that there is adequate screen reader support for
> required="true" but wanted to get your opinion.
>
>
> Thank you,
>
> Angela French
> Internet/Intranet Specialist
> Washington State Board for Community and Technical Colleges
> 360-704-4316
> = EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
> www.sbctc.edu<;http://www.sbctc.edu/>;
>
> > > > >


--
Work hard. Have fun. Make history.

From: Steve Faulkner
Date: Wed, Mar 01 2017 10:24AM
Subject: Re: AT support for required="true"
← Previous message | Next message →

On 1 March 2017 at 09:10, Birkir R. Gunnarsson < = EMAIL ADDRESS REMOVED = >
wrote:

> The problem (or feature) using required is that, in browsers that
> support it, the browsers will move focus to the field and display a
> browser status error message.
>

You can use the novalidate attribute to override this.
http://w3c.github.io/html/sec-forms.html#element-attrdef-form-novalidate
--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

From: Birkir R. Gunnarsson
Date: Wed, Mar 01 2017 10:27AM
Subject: Re: AT support for required="true"
← Previous message | Next message →

I didn't know that.
Thanks Steve, that'll come in handy!


On 3/1/17, Steve Faulkner < = EMAIL ADDRESS REMOVED = > wrote:
> On 1 March 2017 at 09:10, Birkir R. Gunnarsson < = EMAIL ADDRESS REMOVED = >
> wrote:
>
>> The problem (or feature) using required is that, in browsers that
>> support it, the browsers will move focus to the field and display a
>> browser status error message.
>>
>
> You can use the novalidate attribute to override this.
> http://w3c.github.io/html/sec-forms.html#element-attrdef-form-novalidate
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;
> > > > >


--
Work hard. Have fun. Make history.

From: Angela French
Date: Wed, Mar 01 2017 10:40AM
Subject: Re: AT support for required="true"
← Previous message | Next message →

I didn't know about novalidate either. That is why I love this list because I always learn something new.

Angela French

-----Original Message-----
From: WebAIM-Forum [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Birkir R. Gunnarsson
Sent: Wednesday, March 01, 2017 9:28 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] AT support for required="true"

I didn't know that.
Thanks Steve, that'll come in handy!


On 3/1/17, Steve Faulkner < = EMAIL ADDRESS REMOVED = > wrote:
> On 1 March 2017 at 09:10, Birkir R. Gunnarsson
> < = EMAIL ADDRESS REMOVED = >
> wrote:
>
>> The problem (or feature) using required is that, in browsers that
>> support it, the browsers will move focus to the field and display a
>> browser status error message.
>>
>
> You can use the novalidate attribute to override this.
> http://w3c.github.io/html/sec-forms.html#element-attrdef-form-novalida
> te
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w
> 3c/> > > archives at http://webaim.org/discussion/archives
> >


--
Work hard. Have fun. Make history.

From: Scott Brackett
Date: Wed, Mar 01 2017 12:19PM
Subject: Re: AT support for required="true"
← Previous message | No next message

Useful stuff! Thanks Steve.

Scott Brackett
Programmer for Short-Term Programs
Texas School for the Blind and Visually Impaired

NOTICE OF CONFIDENTIALITY: This electronic communication may contain
confidential student record information intended solely for school business
by the individual to whom it is addressed. Any disclosure (verbal or in
print), copying, distribution, or use of this information by an
unauthorized person is prohibited, and may violate TSBVI policy and/or the
Family Education Rights and Privacy Act (FERPA). Should you receive this
electronic communication in error, please notify the sender immediately at
the following telephone number: 512-206-9176 <512-206-9181> Thereafter,
please delete the message.

On Wed, Mar 1, 2017 at 9:40 AM, Angela French < = EMAIL ADDRESS REMOVED = > wrote:

> I didn't know about novalidate either. That is why I love this list
> because I always learn something new.
>
> Angela French
>
> -----Original Message-----
> From: WebAIM-Forum [mailto: = EMAIL ADDRESS REMOVED = ] On
> Behalf Of Birkir R. Gunnarsson
> Sent: Wednesday, March 01, 2017 9:28 AM
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] AT support for required="true"
>
> I didn't know that.
> Thanks Steve, that'll come in handy!
>
>
> On 3/1/17, Steve Faulkner < = EMAIL ADDRESS REMOVED = > wrote:
> > On 1 March 2017 at 09:10, Birkir R. Gunnarsson
> > < = EMAIL ADDRESS REMOVED = >
> > wrote:
> >
> >> The problem (or feature) using required is that, in browsers that
> >> support it, the browsers will move focus to the field and display a
> >> browser status error message.
> >>
> >
> > You can use the novalidate attribute to override this.
> > http://w3c.github.io/html/sec-forms.html#element-attrdef-form-novalida
> > te
> > --
> >
> > Regards
> >
> > SteveF
> > Current Standards Work @W3C
> > <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w
> > 3c/> > > > > archives at http://webaim.org/discussion/archives
> > > >
>
>
> --
> Work hard. Have fun. Make history.
> > > at http://webaim.org/discussion/archives
> > > > > >