Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modal): fall back to modal id for dialog
aria-labelledby
attrib…
…ute (#1403) ## What is the current behavior? If you set `[clrModalLabelledById]` to an empty string, the `aria-labelledby` attribute of the modal dialog element is set to an empty value. This behavior can be seen in the modal stories since the input is defaulted to an empty string. We can't default it to the modal id because that is not known until the component is instantiated. Issue Number: CDE-2050 ## What is the new behavior? If you set `[clrModalLabelledById]` to an empty string, the `aria-labelledby` attribute of the modal dialog element is set to the modal id.
- Loading branch information