select: options in multiple selection cannot be selected when using TalkBack #11770
Description
Bug
CodePen and steps to reproduce the issue:
CodePen Demo which demonstrates the issue:
https://material.angularjs.org/1.1.19/demo/select#option-groups
Detailed Reproduction Steps:
- Enable TalkBack screen reader
- Open site in Chrome
- Go to the Options Group demo
- Open the multiple select for Toppings
- Make sure an option is focused (swipe right/left)
- Double tap to select (check) the focused option
What is the expected behavior?
The option is selected and the checkbox icon shows that it is checked. Re-selecting the option should not result in the screen reader announcing it as "not selected".
What is the current behavior?
The option is not selected and the checkbox icon shows that it is unchecked. Re-selecting the option results in the screen reader announcing it as "not selected".
What is the use-case or motivation for changing an existing behavior?
Basic functionality for screen reader users on Android.
Which versions of AngularJS, Material, OS, and browsers are affected?
- AngularJS: 1.7.8
- AngularJS Material: 1.1.19
- OS: Android 9
- Browsers: Chrome for Android
Is there anything else we should know? Stack Traces, Screenshots, etc.
Discovered this while doing a11y testing for PR #11761.
This isn't a regression as this has always been a problem with md-select
on Android (back at least to 1.1.5
). This is likely a bug with TalkBack. Need to try to reproduce with a WAI-ARIA example and then find out where to submit the defect against TalkBack or Chrome for Android.