Merge remote-tracking branch 'origin/main' into sync-with-main

This commit is contained in:
amandaesmith3
2022-08-23 10:46:54 -05:00
386 changed files with 65781 additions and 1633 deletions

View File

@ -584,12 +584,14 @@ export class Alert implements ComponentInterface, OverlayInterface {
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
const msgId = `alert-${overlayIndex}-msg`;
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
const defaultAriaLabel = header || subHeader || 'Alert';
return (
<Host
role={role}
aria-modal="true"
tabindex="-1"
aria-label={defaultAriaLabel}
{...(htmlAttributes as any)}
style={{
zIndex: `${20000 + overlayIndex}`,