🎨 Palette: Improve LoginPage accessibility

- Added aria-label and aria-pressed to the password visibility toggle in LoginPage.
- Added showPassword and hidePassword translations to both English and Chinese.
- Ensured changes are micro and focused on accessibility.

Co-authored-by: tinkle-community <240652709+tinkle-community@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-02-05 15:54:28 +00:00
parent 22f6ddc045
commit 6c26f9eb95
3 changed files with 9 additions and 0 deletions

3
.Jules/palette.md Normal file
View File

@@ -0,0 +1,3 @@
## 2025-05-22 - [Accessibility: Password Toggles]
**Learning:** Icon-only buttons for password visibility toggles are a common accessibility gap. Adding `aria-label` and `aria-pressed` ensures screen reader users understand the button's purpose and state.
**Action:** Always check password fields and add these attributes along with corresponding translations in `translations.ts`.