TextField (and others) - Error messages not read w/ NVDA/JAWS after another keypress
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 1.6k
- Avg merge
- 3d 9m
- Merged PRs (30d)
- 59
Description
# 🐛 Bug Report
When an error message is triggered on a textField if there is a 2nd keypress after the message appears then the reading of the message is suppressed with JAWS and NVDA
## 🤔 Expected Behavior
The error message should be read to the user.
## 😯 Current Behavior
The user doesn't currently hear the message
## 💁 Possible Solution
## 🔦 Context
## 💻 Code Sample
https://codesandbox.io/s/errormessages-9skph5
Run the testcase and type "test" into the field. Note that JAWS/NVDA so not report an error to the user
Run the testcase again but this time just type "t" into the field. Note that the error is correctly reported here.
## 🌍 Your Environment
| Software | Version(s) |
| ---------------- | ---------- |
| react-spectrum | 3
| Browser | Chrome/FF w/ NVDA or JAWS
| Operating System | Windows
## 🧢 Your Company/Team
## 🕷 Tracking Issue (optional)
Contributor guide
Assessment
This issue has not been assessed yet.