diff --git a/src/Modal.tsx b/src/Modal.tsx index 6f5c7e6c..6e8d1115 100644 --- a/src/Modal.tsx +++ b/src/Modal.tsx @@ -98,6 +98,8 @@ export const Modal: FC = ({ styles.drawer, { [styles.tabbed]: tabbed }, )} + // Suppress the warning about there being no description; the modal + // has an accessible title aria-describedby={undefined} {...rest} > @@ -121,6 +123,8 @@ export const Modal: FC = ({ + {/* Suppress the warning about there being no description; the modal + has an accessible title */}