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(a11y): ion-input-password-toggle has hardcoded aria-label that cannot be customized #30004

Open
5im0n opened this issue Nov 7, 2024 · 0 comments
Labels

Comments

@5im0n
Copy link
Contributor

5im0n commented Nov 7, 2024

Description

The ion-input-password-toggle component currently has a hardcoded aria-label for the password visibility toggle button. This aria-label cannot be customized, which makes it challenging to adapt the component for different languages and accessibility needs.

Expected Behavior

There should be a way to customize the aria-label for the password toggle button in the ion-input-password-toggle component, allowing developers to set an accessible and localized label.

https://github.com/ionic-team/ionic-framework/blob/4bffe976d937e21c42649d010ce696b19962f6ef/core/src/components/input-password-toggle/input-password-toggle.tsx#L130C11-L130C37

@ionitron-bot ionitron-bot bot added the triage label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant