Skip to content

Commit 746df9c

Browse files
edwardhorsfordjakeb-nhs
authored andcommitted
Remove role
1 parent a580fde commit 746df9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/form-elements/error-message/ErrorMessage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const ErrorMessage: FC<ErrorMessageProps> = ({
99
className,
1010
visuallyHiddenText = 'Error: ',
1111
children,
12-
role = 'alert',
1312
...rest
1413
}) => (
1514
<span className={classNames('nhsuk-error-message', className)} {...rest}>

0 commit comments

Comments
 (0)