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

✨ Add ability to view password text when logging in #110

Open
1 task done
rc-ms opened this issue Jan 18, 2022 · 1 comment
Open
1 task done

✨ Add ability to view password text when logging in #110

rc-ms opened this issue Jan 18, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers triage Waiting to be triaged

Comments

@rc-ms
Copy link

rc-ms commented Jan 18, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Suggestion

As either an election admin, guardian, or new user I may need the ability to view the contents of the password field. Because the password is sensitive information, it should remain hidden by default, so I should be presented with an easy-to-access, intuitive, accessible way to switch the state of the text from hidden to visible.
Also

  • I should have the ability to switch the text back to hidden from visible, ideally in the same control
  • I should not have to know a particular language or word to know what the switch does
  • the switch should not take up additional real estate of the form
  • the user should be able to tab into the control from within the form, and then tab correctly into the next form element from the control (see this example)
  • the control should be recognized by JAWS readers background

hidden

Screen Shot 2022-01-18 at 3 39 39 PM

visibile

Screen Shot 2022-01-18 at 3 39 30 PM

Possible Implementation

see images above and codepen example.

Anything else?

No response

@rc-ms rc-ms added enhancement New feature or request good first issue Good for newcomers triage Waiting to be triaged labels Jan 18, 2022
@lprichar
Copy link
Collaborator

There's also an example of how to do this for the MUI TextField component under the adornments section: https://mui.com/components/text-fields/#input-adornments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers triage Waiting to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants