Browse Source

fix(ui): Correctly mark modals with `aria-modal` (#40581)

Evan Purkhiser 2 years ago
parent
commit
901369bf9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/components/globalModal/index.tsx

+ 1 - 1
static/app/components/globalModal/index.tsx

@@ -192,7 +192,7 @@ function GlobalModal({visible = false, options = {}, children, onClose}: Props)
       >
         <AnimatePresence>
           {visible && (
-            <Modal role="dialog" css={options.modalCss}>
+            <Modal role="dialog" aria-modal css={options.modalCss}>
               <Content role="document">{renderedChild}</Content>
             </Modal>
           )}