diff --git a/packages/ui-alerts/src/Alert/index.tsx b/packages/ui-alerts/src/Alert/index.tsx index 13aebd3a8b..c7c523746d 100644 --- a/packages/ui-alerts/src/Alert/index.tsx +++ b/packages/ui-alerts/src/Alert/index.tsx @@ -125,7 +125,10 @@ class Alert extends Component { this.clearTimeouts() this.removeScreenreaderAlert() this.setState({ open: false }, () => { - if (this.props.onDismiss && this.props.transition === 'none') { + if ( + this.props.onDismiss && + (this.props.transition === 'none' || this.props.screenReaderOnly) + ) { this.props.onDismiss() } })