Skip to content

fix(input-password-toggle, button): force update aria attributes #30411

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented May 14, 2025

Issue number: internal


What is the current behavior?

The ion-input-password-toggle has aria attributes that are updated based on the value visibility. However, those values do not reflect on the native button. This leads to the screen readers to not announce correctly.

What is the new behavior?

  • The aria attributes now reflects correctly within the native button.
  • The aria-label has been updated to indicate the state of visibility.
  • Added tests.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2025 11:36pm

@github-actions github-actions bot added the package: core @ionic/core package label May 14, 2025
@thetaPC thetaPC marked this pull request as ready for review May 14, 2025 23:53
@thetaPC thetaPC requested a review from a team as a code owner May 14, 2025 23:53
@thetaPC thetaPC requested a review from ShaneK May 14, 2025 23:53
Copy link
Member

@ShaneK ShaneK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants