fix: Reset Password form inputs show borders in High Contrast theme (#505) - #552
RounakKumarAgarwal wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe reset password form now applies a visible white border to all three inputs in High Contrast mode. No logic or control flow changed. ChangesReset Password Accessibility
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to This styling-only change addresses the missing High Contrast borders without introducing a concrete merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Fixes #505
The Reset Password form inputs (Enter Code, New Password, Confirm New Password) used
dark:border-white, which only applies a border in Dark theme — so in High Contrast they had no visible border and appeared as floating text.Added a base
borderand a High Contrast variant[.contrast_&]:border-whiteto all three inputs, so they show clearly in High Contrast (consistent with the Sign In form fixed in #459).Changes
frontend/src/Pages/Authentication/forms.tsx: addedborder+[.contrast_&]:border-whiteto the three ResetPasswordForm inputs.Testing
npm run build— no new errors.Before
Screen.Recording.2026-09-17.074903.mp4
After
Screen.Recording.2026-09-17.075051.mp4
Summary by CodeRabbit