bug(form-field): NVDA reads error message twice when required marker is hidden
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### Description
When the hide required marker option is turned on, NVDA reads the Form Field error message twice
### Reproduction
https://material.angular.dev/components/form-field/overview#form-field-label
### Expected Behavior
Error message is read out once
### Actual Behavior
Error message is read out twice
### Environment
- Angular: v21
- CDK/Material: v21
- Browser(s): Google Chrome with NVDA on
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Contributor guide
Research direction
Start with the form-field label reproduction at https://material.angular.dev/components/form-field/overview#form-field-label and reproduce it in Chrome with NVDA while the hide required marker option is enabled. Trace the form-field error announcement behavior and verify that the error message is announced once rather than twice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100