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

Password: Warning message related to aria-hidden displayed when clicking the toggleMask icon #7473

Closed
redonearth opened this issue Dec 3, 2024 · 0 comments · Fixed by #7476
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA
Milestone

Comments

@redonearth
Copy link
Contributor

Describe the bug

image

When I set the toggleMask property to true in the Password component and click the eye icon, the related warning message is displayed in the console every time I click, whether I turn the mask on or off.
The same phenomenon appears in the PrimeReact official documentation and the Reproducer I registered.

Reproducer

https://stackblitz.com/edit/vitejs-vite-qvir2v?file=src%2FApp.tsx

System Information

System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 1.66 GB / 3.83 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
    Yarn: 4.5.3 - ~/.nvm/versions/node/v20.18.0/bin/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
    bun: 1.1.26 - ~/.bun/bin/bun
  npmPackages:
    primereact: ^10.8.5 => 10.8.5
    react: ^18.3.1 => 18.3.1
    tailwindcss: ^3.4.15 => 3.4.15

Steps to reproduce the behavior

  1. Go to the reproducer link
  2. Click the eye-shaped icon to the right of the password input

Expected behavior

Warning messages should not be displayed in the browser developer console.

@redonearth redonearth added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 3, 2024
@melloware melloware added Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 3, 2024
@melloware melloware added this to the 10.8.6 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants