Skip to content

feat(forms): enhance form validation and accessibility (#514)#559

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
temisan0x:feat/form-validation-514
May 29, 2026
Merged

feat(forms): enhance form validation and accessibility (#514)#559
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
temisan0x:feat/form-validation-514

Conversation

@temisan0x
Copy link
Copy Markdown
Contributor

Closes #514

Summary

The auth forms had incomplete validation feedback and accessibility gaps. This PR fixes both without touching any business logic or refactoring the form structure.

What changed

login/page.tsx

  • Email and password inputs now show a red border when their field has an error
  • Added aria-invalid and aria-describedby on both inputs so screen readers correctly associate error messages with their fields

signup/page.tsx

  • Same aria-invalid, aria-describedby, and error border improvements across name, email, and password fields
  • Added the missing confirmPassword field — it existed in the schema and validation but was never rendered in the form

What was not changed

  • No schema changes
  • No component refactoring
  • No business logic touched
  • All existing styles and structure preserved

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@temisan0x Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 392f7ef into rinafcode:main May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore Error Handling : Form Validation Enhancement (Issue 116)

2 participants