WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Required VS Optional

for

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

From: Murphy, Sean
Date: Mon, Aug 31 2020 10:25PM
Subject: Required VS Optional
No previous message | Next message →

--_004_SYCPR01MB316560855681F32FBCBD075AB42E0SYCPR01MB3165ausp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Team,

WE are in the process of building components for our design system and come=
across a difference of opinion on the use of required VS Optional.

The current trend from the research we have undertaken thus far is towards =
only providing required fields with optional fields sparingly. The optional=
fields will have the word at the end of the label. Discussion surrounding =
having instructions stating all fields are required, otherwise stated, or w=
ords to that fact. UX research which has been found states only required fi=
elds should be on the form, as this assists with cognitive load and optiona=
l fields reduce usability of the form.

3.3.2Labels or Instructions<https://www.w3.org/WAI/WCAG21/quickref/#labels-=
or-instructions> states:
In a form which contains both required and optional fields, the required fi=
elds and/or the optional fields are clearly labelled as such.

The techniques do not reference the use of labels with option in them. Only=
reference providing clear labels and instructions for required.

Thus, you could argue if the form clearly indicates "Optional" for the fiel=
ds. You don't need the "required" indicators at aria or the UI level. Since=
it is implicit any field without "Optional" is required. Hence using that =
design, the form fields pass this SC.

* Is there any accessibility research out there why the trend is to use=
required over optional on forms?
* Any research why ARIA-required is present and there is no ARIA-Option=
al?

Thoughts on this are more than welcomed.




Regards
Sean Murphy

[cid:image001.png@01D68069.8684CD60]

Sean Murphy | Senior Digital System specialist (Accessibility)
Telstra Digital Channels | Digital Systems
Mobile: 0405 129 739 | Desk: (02) 9866-7917
Digital Systems Launch Page<https://confluence.in.telstra.com.au/display/DC=
SYS/Digital+Systems+-+Able+Home>
Accessibility Single source of Truth<https://confluence.in.telstra.com.au/d=
isplay/DCSYS/Accessibility+Resources>


--_004_SYCPR01MB316560855681F32FBCBD075AB42E0SYCPR01MB3165ausp_
Content-Type: image/png; name="image001.png"
Content-Description: image001.png
Content-Disposition: inline; filename="image001.png"; size=2147;
creation-date="Tue, 01 Sep 2020 04:25:24 GMT";
modification-date="Tue, 01 Sep 2020 04:25:24 GMT"
Content-ID: <image001.png@01D68069.8684CD60>
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAABcAAAAaCAYAAABctMd+AAAEDWlDQ1BJQ0MgUHJvZmlsZQAAOI2N
VV1oHFUUPrtzZyMkzlNsNIV0qD8NJQ2TVjShtLp/3d02bpZJNtoi6GT27s6Yyc44M7v9oU9FUHwx
6psUxL+3gCAo9Q/bPrQvlQol2tQgKD60+INQ6Ium65k7M5lpurHeZe58853vnnvuuWfvBei5qliW
kRQBFpquLRcy4nOHj4g9K5CEh6AXBqFXUR0rXalMAjZPC3e1W99Dwntf2dXd/p+tt0YdFSBxH2Kz
5qgLiI8B8KdVy3YBevqRHz/qWh72Yui3MUDEL3q44WPXw3M+fo1pZuQs4tOIBVVTaoiXEI/MxfhG
DPsxsNZfoE1q66ro5aJim3XdoLFw72H+n23BaIXzbcOnz5mfPoTvYVz7KzUl5+FRxEuqkp9G/Aji
a219thzg25abkRE/BpDc3pqvphHvRFys2weqvp+krbWKIX7nhDbzLOItiM8358pTwdirqpPFnMF2
xLc1WvLyOwTAibpbmvHHcvttU57y5+XqNZrLe3lE/Pq8eUj2fXKfOe3pfOjzhJYtB/yll5SDFcSD
iH+hRkH25+L+sdxKEAMZahrlSX8ukqMOWy/jXW2m6M9LDBc31B9LFuv6gVKg/0Szi3KAr1kGq1GM
jU/aLbnq6/lRxc4XfJ98hTargX++DbMJBSiYMIe9Ck1YAxFkKEAG3xbYaKmDDgYyFK0UGYpfoWYX
G+fAPPI6tJnNwb7ClP7IyF+D+bjOtCpkhz6CFrIa/I6sFtNl8auFXGMTP34sNwI/JhkgEtmDz14y
SfaRcTIBInmKPE32kxyyE2Tv+thKbEVePDfW/byMM1Kmm0XdObS7oGD/MypMXFPXrCwOtoYjyyn7
BV29/MZfsVzpLDdRtuIZnbpXzvlf+ev8MvYr/Gqk4H/kV/G3csdazLuyTMPsbFhzd1UabQbjFvDR
mcW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0YrsNNivSgC79EKaVqkucD4DTe6t5csyN3pGG0d9A9eva02QbAaxcYRRDBJV2eHTLZGY2biXz
1jEyD9lWo3oBjpmayt9ssRy4vFxfKzw29zo+jeZHL6YnGqpzgsPpe7bfqI2At0NguTaYb0vwyZLD
5MRqWP0ePmg+P3pZcr5rpsY58BHbyo6wl3zX68C160PgjGZmhsWmc2tLMP67WGpsH3aQ5qLd+hqR
/WEs++sEbw51iqRlDcHFecxm0GY1gok3cLR5d95BCr5neplWB8iiTsO8nm3I3g5ldJBlJrJfM03Q
7lnINtZqMzzzKsouxaRtb4MXi8fI/hA0OydzIAwvXnaQy1LYiCxD1qDISbBurRoY9QkBPY/bo7ke
h2yTrEdOF1C8a5Hp2YkOQUR+PeVw+ZLqvUwp5ob1Dvffp5Jo8jM/KIjzLzAdPIcdKs7FmmLhiFuF
Yucwi7SAmOkwDC558gRNhFekLSWKYTHsOOUuULkV88VT/bRkhrvVNdSqexCHh+F7zAVNZDRI2MmP
EY0DlvvJYNPr0I45APM5l69M9q5vYFPwGqJ4H/9hVBAUqRkNMjPvr4xOKcNa3Cpno8wzy8dVhAX/
bT6wbazmd4wC8JjTfNdktr2VBKQGRrF/bwSeXZj3j6P+x3bO7ZcZ90l4AVCgk6yjMjtZA8m5Pcu0
/SSf/yVWsUvlqFsLr/UkTOEptuYcHUzxZXfZyvCzv/NR7cVC4Uu5cHPgqQvgM1dCvXEvo3iYaXiG
KPdAu48Z3VfYVfwtM/sXqjFl9oXaNQ4AAAAASUVORK5CYIIAAAA=

--_004_SYCPR01MB316560855681F32FBCBD075AB42E0SYCPR01MB3165ausp_--

From: Birkir R. Gunnarsson
Date: Tue, Sep 01 2020 7:47AM
Subject: Re: Required VS Optional
← Previous message | No next message

I think the reason there is no aria-optional (or an optional HTML
attribute) is that all form fields are, by default, optional. Making
them required is a design decision.
To meet this requirement, just make sure you indicate which fields are
required, you can do it by indicating which fields are optional. The
specific technique, to my mind, doesn't matter, it's the intent.
If there is usability research to recommend a particular approach,
that's always a good thing.

On 9/1/20, Murphy, Sean < = EMAIL ADDRESS REMOVED = > wrote:
> Team,
>
> WE are in the process of building components for our design system and come
> across a difference of opinion on the use of required VS Optional.
>
> The current trend from the research we have undertaken thus far is towards
> only providing required fields with optional fields sparingly. The optional
> fields will have the word at the end of the label. Discussion surrounding
> having instructions stating all fields are required, otherwise stated, or
> words to that fact. UX research which has been found states only required
> fields should be on the form, as this assists with cognitive load and
> optional fields reduce usability of the form.
>
> 3.3.2Labels or
> Instructions<https://www.w3.org/WAI/WCAG21/quickref/#labels-or-instructions>
> states:
> In a form which contains both required and optional fields, the required
> fields and/or the optional fields are clearly labelled as such.
>
> The techniques do not reference the use of labels with option in them. Only
> reference providing clear labels and instructions for required.
>
> Thus, you could argue if the form clearly indicates "Optional" for the
> fields. You don't need the "required" indicators at aria or the UI level.
> Since it is implicit any field without "Optional" is required. Hence using
> that design, the form fields pass this SC.
>
> * Is there any accessibility research out there why the trend is to use
> required over optional on forms?
> * Any research why ARIA-required is present and there is no
> ARIA-Optional?
>
> Thoughts on this are more than welcomed.
>
>
>
>
> Regards
> Sean Murphy
>
> [cid:image001.png@01D68069.8684CD60]
>
> Sean Murphy | Senior Digital System specialist (Accessibility)
> Telstra Digital Channels | Digital Systems
> Mobile: 0405 129 739 | Desk: (02) 9866-7917
> Digital Systems Launch
> Page<https://confluence.in.telstra.com.au/display/DCSYS/Digital+Systems+-+Able+Home>
> Accessibility Single source of
> Truth<https://confluence.in.telstra.com.au/display/DCSYS/Accessibility+Resources>
>
>


--
Work hard. Have fun. Make history.