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

Button announces multiple times when status changes to isPending #5519

Closed
majornista opened this issue Dec 4, 2023 · 0 comments · Fixed by #5520
Closed

Button announces multiple times when status changes to isPending #5519

majornista opened this issue Dec 4, 2023 · 0 comments · Fixed by #5520
Labels
accessibility bug Something isn't working

Comments

@majornista
Copy link
Collaborator

Provide a general summary of the issue here

Following on #5245, Button announces more than once when the status changes to isPending={true} using Firefox with NVDA or JAWS.

🤔 Expected Behavior?

Button should not announce more than once when the status changes to isPending={true}.

😯 Current Behavior

Button announces more than once when the status changes to isPending={true} with NVDA and JAWS.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

  1. Open https://reactspectrum.blob.core.windows.net/reactspectrum/88c4d560d552d6d911a71396759f9088b1df2199/storybook/index.html?path=/story/button--pending-spinner&providerSwitcher-express=false example in Firefox on Windows using JAWS or NVDA.
  2. Press any of the isPending button examples.
  3. When the button enters the pending state, the screen reader announces the button name and "pending" more than once.

Version

9d8c74a

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

If other, please specify.

No response

What operating system are you using?

Windows, macOS

🧢 Your Company/Team

Adobe/Accessibility

🕷 Tracking Issue

No response

@majornista majornista added bug Something isn't working accessibility labels Dec 4, 2023
@majornista majornista changed the title Button announces multiple times when status changes the isPending Button announces multiple times when status changes to isPending Dec 5, 2023
snowystinger pushed a commit that referenced this issue Dec 7, 2023
…sPending (#5520)

* #5519 [a11y] Button announces multiple times when status changes to isPending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant