bug mat-list-option: ScreenReader(JAWS) reads not selected for checked mat-list-option
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-mat-options?file=app%2Flist-selection-example.html
Steps to reproduce:
- Use mat-selection-list along with mat-list-option to show the checkbox list.
- Check and disable the mat-list-option using selected and disabled attribute(pre-populate with checked and disabled).
- Use JAWS screen reader to the values of label of the mat-option-list
- Jaws reads checked and disabled items as 'Not selected {{label Name}}'.
Expected Behavior
What behavior were you expecting to see? Screen reader should read label name or 'selected {{label name}}' when mat-option-list is disabled and checked.
Actual Behavior
What behavior did you actually see? JAWS screen reader reading it as 'not selected {{label Name}}' even mat-option-list is checked. This behavior is only when mat-option-list is disabled.
Environment
- Angular: 7.2.16
- CDK/Material: 7.3.7
We won't be able to test this in JAWS until we're back in the office, but my hunch is that this is a JAWS bug if we're correctly setting aria-selected and aria-disabled.
Any updates?
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-mat-options?file=app%2Flist-selection-example.html
Steps to reproduce:
- Use mat-selection-list along with mat-list-option to show the checkbox list.
- Check and disable the mat-list-option using selected and disabled attribute(pre-populate with checked and disabled).
- Use JAWS screen reader to the values of label of the mat-option-list
- Jaws reads checked and disabled items as 'Not selected {{label Name}}'.
Expected Behavior
What behavior were you expecting to see? Screen reader should read label name or 'selected {{label name}}' when mat-option-list is disabled and checked.
Actual Behavior
What behavior did you actually see? JAWS screen reader reading it as 'not selected {{label Name}}' even mat-option-list is checked. This behavior is only when mat-option-list is disabled.
Environment
- Angular: 7.2.16
- CDK/Material: 7.3.7
Hi Team, did we get any update on this? I am also facing the same issue
We are also experiencing the same issue with mat-list-option as mentioned in the description above. Can i have an update on this thread?
Any resolution or workaround for this issue. Similarly JAWS doesn't read if checkbox is disabled.
I cannot reproduce. Does the issue persist for you? We may have already fixed this.
Note that sometimes JAWS announces the not-checked options as "not selected" but it doesn't announce the checked options as "selected". That seems to be the way JAWS works.
Hello @nikhil4326 ,
Thank you for reporting this issue. Unfortunately we are not able to take action if we cannot reproduce it. This might have already been fixed. If the issue persists, please provide reproduction steps or file a new issue report.
- Zach
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.