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

[Bug]: Fix Validation, Password Toggle, and Panel Switching Bugs in script.js for Login/Registration #1404

Closed
4 of 5 tasks
chikatlarakesh opened this issue Oct 2, 2024 · 1 comment
Labels
bug Something isn't working gssoc

Comments

@chikatlarakesh
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

  • The login and registration forms do not perform validation on user input, allowing users to submit empty fields or incorrectly formatted email addresses.

  • Additionally, the password visibility toggle may not function correctly if IDs are not unique, leading to unintended behavior.

  • There is also no keyboard accessibility for submitting forms with the Enter key.

  • When a user attempts to submit the registration or login form without filling in all required fields, no validation message is displayed, and the form submits regardless.

  • The password visibility toggle icon does not consistently change between "eye" and "eye-slash" states due to potential ID conflicts.

  • Users cannot submit the form using the Enter key, which affects accessibility.

Expected behavior

  • The registration and login forms would validate input fields, displaying error messages if required fields are empty or if the email format is invalid.
  • The password visibility toggle would correctly change the icon when clicked and work independently for each form field.
  • Users would be able to submit the forms using the Enter key for better accessibility.

Add ScreenShots

No response

On which device are you experiencing this bug?

Android, iPhone, Chrome

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I'm a VSOC'24 contributor
  • I have starred the repository
@chikatlarakesh chikatlarakesh added the bug Something isn't working label Oct 2, 2024
@github-actions github-actions bot added the gssoc label Oct 2, 2024
Copy link

github-actions bot commented Oct 2, 2024

Hi @chikatlarakesh! Thanks for opening this issue. We appreciate your contribution to this open-source project.

This was referenced Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gssoc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant