Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a more precise required/optional fields legend #4719

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Oct 25, 2021

References

Background

Usability tests showed some users were struggling when seeing the word "Required" as a legend (it's actually styled as a title), since this isn't a common pattern when filling in forms. They were expecting something like "Fields with * are required", and so the "Required" text alone made them feel the sentence wasn't complete.

We could also add an "*" to required fields in addition to the "Required" text. In this case, however, some users wondered what the asterisk was about: "It can't mean 'required' because they've already said these fields are required".

Objectives

  • Make it easier for citizens to know which fields are required

Visual Changes

Before these changes

Fieldset legends are "Required" and "Optional"

After these changes

Fieldset legends are "Required fields" and "Optional fields"

Notes

We'll probably have to revisit required and optional fields again. For now, we're just doing a small improvement.

Usability tests showed some users were struggling when seeing the word
"Required" as a legend (it's actually styled as a title), since this
isn't a common pattern when filling in forms. They were expecting
something like "Fields with * are required", and so the "Required" text
alone made them feel the sentence wasn't complete.

We could also add an "*" to required fields in addition to the
"Required" text. In this case, however, some users wondered what the
asterisk was about: "It can't mean 'required' because they've already
said these fields are required".

We'll probably have to revisit required and optional fields again. For
now, we're just doing a small improvement.
@javierm javierm added the UX label Oct 25, 2021
@javierm javierm self-assigned this Oct 25, 2021
@javierm javierm added this to Reviewing in Consul Democracy via automation Oct 25, 2021
@taitus taitus self-assigned this Oct 29, 2021
Consul Democracy automation moved this from Reviewing to Testing Oct 29, 2021
@javierm javierm merged commit bde3dd7 into master Oct 29, 2021
@javierm javierm deleted the form_legends branch October 29, 2021 11:35
Consul Democracy automation moved this from Testing to Release 1.4.0 Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants