Skip to content

Password uses invalid aria attribute #8210

@c0lt

Description

@c0lt

Describe the bug

Storybook's accessibility addon detects an invalid ARIA attribute in the Password component. It says that aria-expanded is not allowed. It was introduced with v4.4.1 and breaks our accessibility check now.

Pull Request Link

#8209

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template?file=src%2FApp.vue

Environment

Storybook with PrimeVue

Vue version

3.5.21

PrimeVue version

4.4.1

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a story in Storybook for the Password Component
  2. Check the accessibility section

Expected behavior

Password component should not have forbidden ARIA attribute

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions