Skip to content

Commit

Permalink
Remove role
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhorsford committed May 9, 2024
1 parent 4bb228d commit 2c0605c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const ErrorMessage: FC<ErrorMessageProps> = ({
className,
visuallyHiddenText = 'Error: ',
children,
role = 'alert',
...rest
}) => (
<span className={classNames('nhsuk-error-message', className)} {...rest}>
Expand Down

0 comments on commit 2c0605c

Please sign in to comment.