mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Accessibility: Add the correct role to the modal backdrop (#59572)
add the correct role to the modal backdrop
This commit is contained in:
parent
fde9a5d112
commit
11a32bddbb
@ -69,6 +69,7 @@ export function Modal(props: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<OverlayContainer>
|
||||
<div
|
||||
role="presentation"
|
||||
className={styles.modalBackdrop}
|
||||
onClick={onClickBackdrop || (closeOnBackdropClick ? onDismiss : undefined)}
|
||||
{...underlayProps}
|
||||
|
Loading…
Reference in New Issue
Block a user