-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Assignees
Labels
AccessibilityThis issue is related to accessibility (a11y) P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent area: material/stepper featureThis issue represents a new feature or feature request rather than a bug or bug fix needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug
@jackalvrus
Description
Feature Description
I would like to be able to programmatically set focus to the current step header.
Use Case
There are 2 use cases where I would like to be able to programmatically set focus to a step header:
- When initially loading a page, I want to be able to give focus to the current step header.
- When switching between steps programmatically using
MatStepper.next
, if anything has been done that caused the focus to shift outside of the stepper, the intended behavior of focusing the newly-selected header does not happen. I need to be able to move the focus back to the current step header.
Metadata
Metadata
Assignees
Labels
AccessibilityThis issue is related to accessibility (a11y) P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent area: material/stepper featureThis issue represents a new feature or feature request rather than a bug or bug fix needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug