-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
AccessibilityThis issue is related to accessibility (a11y)This issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/dialog
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
13.x
Description
Since Angular 14 the aria-modal attribute in the mat-dialog-container is configurable, but the option is not present in the configuration class : MatDialogConfig.
As such we can't have aria-modal in the mat-dialog-container
Reproduction
Steps to reproduce:
- open a dialog with MatDialog
Expected Behavior
- aria-modal="true" is present in the mat-dialog-container
or
- presence of an ariaModal variable in the MatDialogConfig class
Actual Behavior
- aria-modal is not present in the mat-dialog-container
or
- ariaModal is not known in the MatDialogConfig class
Environment
- Angular: 14.1.1
- CDK/Material: 14.1.1
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
AccessibilityThis issue is related to accessibility (a11y)This issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/dialog