Skip to content

Commit

Permalink
♿ [#4717] Added role alert to ErrorMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmolen committed Oct 3, 2024
1 parent 3c28a01 commit f6a71e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openforms/js/components/errors/ErrorMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {ErrorIcon} from 'components/admin/icons';
const ErrorMessage = ({children}) => {
if (!children) return null;
return (
<div className="error-message">
<div className="error-message" role="alert">
<span className="error-message__icon icon icon--danger icon--as-lead">
<ErrorIcon text="error" />
</span>
Expand Down

0 comments on commit f6a71e7

Please sign in to comment.