Skip to content

Commit

Permalink
♿ [open-formulieren/open-forms#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 8443340 commit 7fa1958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Errors/ErrorMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ErrorMessage = ({children, modifier = 'error'}) => {
const errorRef = useScrollIntoView();
if (!children) return null;
return (
<Alert type={modifier} icon={ICONS[modifier]} ref={errorRef}>
<Alert type={modifier} icon={ICONS[modifier]} ref={errorRef} role="alert">
{children}
</Alert>
);
Expand Down

0 comments on commit 7fa1958

Please sign in to comment.