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

Create Password input component to help teams meet WCAG 2.2 #4063

Closed
11 of 17 tasks
Tracked by #3042
dav-idc opened this issue Aug 8, 2023 · 4 comments
Closed
11 of 17 tasks
Tracked by #3042

Create Password input component to help teams meet WCAG 2.2 #4063

dav-idc opened this issue Aug 8, 2023 · 4 comments
Assignees
Labels
accessibility epic Epics are used in planning project boards to group related stories passwords Ask users for passwords WCAG 2.2 All items related to WCAG 2.2 update activities

Comments

@dav-idc
Copy link

dav-idc commented Aug 8, 2023

What

Bring in a new variant for passwords that includes a 'show / hide' control.

Why

WCAG 2.2 success criterion 'Accessible Authentication (minimum)' states that:

"A cognitive function test (such as remembering a password or solving a puzzle) is not required for any step in an authentication process..."

The understanding document also gives specific advice in the understanding document around showing passwords in password fields:

Hiding characters
Another factor that can contribute to cognitive load is hiding characters when typing. Although this criterion requires that users do not have to type in (transcribe) a password, there are scenarios where that is necessary such as creating a password to be saved by a password manager. Providing a feature to optionally show a password can improve the chance of success for some people with cognitive disabilities or those who have difficulties with accurately typing.

Epic lead

Beeps

Who needs to work on this

Developer(s), designer(s), accessibility specialist, our community

Who needs to review this

accessibility specialist

Kick-off

Preview Give feedback
  1. WCAG 2.2 passwords
    Ciandelle dav-idc
    querkmachine
  2. WCAG 2.2 passwords
    Ciandelle dav-idc
    querkmachine stevenjmesser
  3. WCAG 2.2 passwords
    Ciandelle querkmachine

Discovery and alpha

Preview Give feedback
  1. WCAG 2.2 passwords security
    Ciandelle owenatgov
    querkmachine
  2. WCAG 2.2 passwords
    querkmachine
  3. 🔍 investigation
    owenatgov querkmachine
  4. WCAG 2.2 guidance passwords
  5. WCAG 2.2 guidance passwords
  6. assurance community
    ImranH-GDS owenatgov
    stevenjmesser

Delivery

Preview Give feedback
  1. 0 of 9
@dav-idc dav-idc added accessibility WCAG 2.2 All items related to WCAG 2.2 update activities labels Aug 8, 2023
@dav-idc dav-idc changed the title Add a 'show / hide' password variant to help meet WCAG 2.2 Create a 'show / hide' password variant to help meet WCAG 2.2 Aug 8, 2023
@dav-idc dav-idc added the epic Epics are used in planning project boards to group related stories label Aug 8, 2023
@owenatgov
Copy link
Contributor

Some initial inter-team discourse on this so far:

  • Whilst we should still investigate existing show/hide implementations, working off of the show password contribution is a good bet. This has been extensively researched for the GOV.UK Account initial launch and is being used across Digital Identity/OneLogin services, which have themselves gone through user research with this component in.
  • We should think about how we should present this component in guidance. Currently, the leaning is to have a password component which includes a show password button and retain the password pattern for guidance on best practice for storing and handling passwords. Regardless of what we choose, we should review the password pattern content in response to this component.
  • We should put together a contribution group of interested parties. As this is being used significantly within GDS, there's an opportunity to work more directly with GDS colleagues to build this. Some options for a contribution group:
    • The original contributor
    • Frontend devs within Digital Identity
    • Designers within Digital Identity
  • As part of this, we should cross reference our implementation and guidance with NSCS's guidance on passwords to make sure we're compliant

@CharlotteDowns
Copy link
Contributor

There has been a conversation about the necessity of confirm password input fields in the Add guidance on show/hide password buttons alphagov/govuk-frontend#2861 pull request that may be worth considering as part of this work.

@dav-idc
Copy link
Author

dav-idc commented Oct 25, 2023

[David's departing thoughts]:

Given the capacity on the team and an addition of new dev and design tickets for the main WCAG 2.2 work, I'd recommend pausing this now until after the WCAG 2.2 release is all planned out. Shouldn't be too long of a delay.

Here's the GitHub issue which I believe to be higher priority. In the 'WCAG 2.2 issues to resolve', there's a list of content, design and dev issues that need to be resolved before the WCAG 2.2 release can happen.

@kellylee-gds kellylee-gds changed the title Create a 'show / hide' password variant to help meet WCAG 2.2 Create Password input component to help teams meet WCAG 2.2 Jan 17, 2024
@36degrees
Copy link
Contributor

Superseded by alphagov/govuk-design-system#3454

@36degrees 36degrees closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility epic Epics are used in planning project boards to group related stories passwords Ask users for passwords WCAG 2.2 All items related to WCAG 2.2 update activities
Projects
None yet
Development

No branches or pull requests

6 participants