Skip to content

fix: 🐛 Fix show-password toggle in PasswordField#56

Draft
wapec wants to merge 2 commits intoEuro-Office:mainfrom
wapec:fix/password-field-type-typo
Draft

fix: 🐛 Fix show-password toggle in PasswordField#56
wapec wants to merge 2 commits intoEuro-Office:mainfrom
wapec:fix/password-field-type-typo

Conversation

@wapec
Copy link
Copy Markdown

@wapec wapec commented May 5, 2026

  • Input type was 'type' instead of 'text', making the reveal non-functional
  • Toggle button was a non-interactive ; replaced with for keyboard accessibility with aria-pressed and aria-label
  • aria-label uses i18n translations (textShowPassword / textHidePassword)
  • Added CSS reset for the new button element to preserve existing layout

wapec added 2 commits May 5, 2026 14:35
- Input type was 'type' instead of 'text', making the reveal non-functional
- Toggle button was a non-interactive <span>; replaced with <button> for
  keyboard accessibility with aria-pressed and aria-label
- aria-label uses i18n translations (textShowPassword / textHidePassword)
- Added CSS reset for the new button element to preserve existing layout

Signed-off-by: Bohdan Baranov <wapec@icloud.com>
Signed-off-by: Bohdan Baranov <wapec@icloud.com>
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.

1 participant