Open
Description
Reproduction
Example of a linear stepper with this issue: https://stackblitz.com/angular/vbkvxdpeoml?file=src%2Fapp%2Fstepper-overview-example.ts
Steps to reproduce:
- Enable linear mode
- Fill out first step
- Go back to step header using keyboard navigation
- Move focus to next step
Expected Behavior
The screen reader should read aloud the content of the button but not mention anything about being disabled since clicking the button will work.
Actual Behavior
The screen reader says the button is disabled.
This is because aria-disabled attribute is still set on the button, but shouldn't be anymore since the step is now complete.
Environment
- Angular: 12.2.4
- CDK/Material: 12.2.4
- Tested on Chrome with NVDA, ChromeVox, and VoiceOver.