Closed CalvinRodo closed 4 years ago
Thanks @CalvinRodo happy to accommodate. In practice what does this typically look like for your forms (screenshot would help).
i.e. not seeing them in bio metrics app i.e.
I would be very much for a minimum making that an option - but ideally something that works for everyone.
cc: @JuliannaR
More like this perhaps
The web experience toolkit style guide is a good example for our stuff since that's what most of our stuff is built on.
Their form validation demo outlines how our forms look https://wet-boew.github.io/v4.0-ci/demos/formvalid/formvalid-en.html
The biometric scheduler needs some work to align with ESDC standards.
Noting this pattern from GOV.UK
https://govuk-elements.herokuapp.com/form-elements/#form-optional-fields
cc: @obrien-j
- if you do ask for optional information, mark the labels of optional fields with ‘(optional)’
- don’t mark mandatory fields with asterisks
Will look at what making that an option available as opt-in to would look like.
@willeybryan flagging this as a todo item after yesterdays chat with @JuliannaR .
We'll plan to make this available as an option.
Noting per Julianna it's easier for screen readers users find the required fields if they are marked as such vs 1. not revealing until clicked or 2. marking optional fields.
PR merged here: https://github.com/cds-snc/node-starter-app/pull/107
So while the Form Design from Zero to Hero blog post states that you shouldn't mark fields as required it is a requirement at ESDC to pass our accessibility guidelines.
And while the success criterion for 3.3.2 states that:
We don't have the luxury of not having required fields, so would be nice to have them in the starter-app or at least the option to render them for those that can exclude them.