WebAIM - Web Accessibility In Mind

E-mail List Archives

Using required attribute with a star mark VS Marking as optional

for

From: Ramakrishnan Subramanian
Date: Jan 30, 2019 11:28PM


Hi Team,
I would like to listen to your opinion on the following:
Marking the mandatory fields with the “star mark and required
attribute” VS marking as “optional” for the optional fields.
We know that the ideal recommendation for a form is to mark the
mandatory fields with the “star mark” and with the “required
attribute”. But, Instead of that, when the other practice is followed,
what are the pros and cons? And whether this practice is considered
WCAG compliant?


--

Thanks and Regards
Ramakrishnan