Hide error screen icon from accessibility technologies

It does not have any meaningful accessible label to contribute beyond what is already stated in the heading.
This commit is contained in:
Robin
2025-06-16 16:48:13 -04:00
parent 905177f0b6
commit a36e72147c
2 changed files with 8 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ export const ErrorView: FC<Props> = ({
return (
<div className={styles.error}>
<BigIcon className={styles.icon}>
<Icon />
<Icon aria-hidden />
</BigIcon>
<Heading as="h1" weight="semibold" size="md">
{title}