Open
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
if a non focused toggle is clicked, there is no remaining focus - bad if keyboard control is used afterwards.
However if the label is clicked instead, the remaining focus works.
Reproduction
Steps to reproduce:
- https://material.angular.io/components/slide-toggle/overview
- click on not focused toggle vs click on not focused label
Expected Behavior
remaining focus should appear on click on a non focused toggle
Actual Behavior
no remaining focus on click on a not already focused toggle
Environment
- Angular: 15.1.1
- CDK/Material: 15.1.1
- Browser(s): all
- Operating System (e.g. Windows, macOS, Ubuntu): all