components icon indicating copy to clipboard operation
components copied to clipboard

bug mat-list-option: ScreenReader(JAWS) reads not selected for checked mat-list-option

Open nikhil4326 opened this issue 6 years ago • 8 comments

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-mat-options?file=app%2Flist-selection-example.html

Steps to reproduce:

  1. Use mat-selection-list along with mat-list-option to show the checkbox list.
  2. Check and disable the mat-list-option using selected and disabled attribute(pre-populate with checked and disabled).
  3. Use JAWS screen reader to the values of label of the mat-option-list
  4. 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

nikhil4326 avatar May 27 '20 08:05 nikhil4326

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.

jelbourn avatar May 29 '20 22:05 jelbourn

Any updates?

nikhil4326 avatar Sep 03 '20 13:09 nikhil4326

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-mat-options?file=app%2Flist-selection-example.html

Steps to reproduce:

  1. Use mat-selection-list along with mat-list-option to show the checkbox list.
  2. Check and disable the mat-list-option using selected and disabled attribute(pre-populate with checked and disabled).
  3. Use JAWS screen reader to the values of label of the mat-option-list
  4. 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

vinayshuklag avatar Sep 30 '20 11:09 vinayshuklag

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?

vipinc38 avatar Sep 30 '20 11:09 vipinc38

Any resolution or workaround for this issue. Similarly JAWS doesn't read if checkbox is disabled.

nikhil4326 avatar Jan 06 '22 06:01 nikhil4326

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.

zarend avatar Oct 25 '22 17:10 zarend

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

zarend avatar Jan 13 '23 17:01 zarend

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.