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 - Clipboard copy with expansion variant - screen reader issue #11372

Open
AyushiMidha opened this issue Dec 20, 2024 · 0 comments
Open

Bug - Clipboard copy with expansion variant - screen reader issue #11372

AyushiMidha opened this issue Dec 20, 2024 · 0 comments

Comments

@AyushiMidha
Copy link

Describe the problem
When using a screen reader with the Clipboard Copy component in the expansion variant, the screen reader first announces the text of the expansion button and then the text of the input field. Since the text content of the expansion button and the input field are similar to some extent, this can give the impression that the screen reader is reading the same content twice. This behavior may confuse users relying on assistive technologies.

How do you reproduce the problem?

  1. Navigate to the Clipboard Copy component component expansion variant (https://www.patternfly.org/components/clipboard-copy#expanded).
  2. Focus on the expansion variant of the Clipboard Copy component.
  3. Use a screen reader (e.g., VoiceOver) to interact with the component.
  4. Observe that the screen reader announces the expansion button text and then the input field text, which are similar.

Expected behavior
The screen reader should differentiate the content being announced for the expansion button and the input field to avoid redundancy or confusion for users.

Screenshots
Image
Image

What is your environment?

  • OS: macOs
  • Browser: Chrome
  • Version: 131.0.6778.205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant