️(frontend) hide under construction banner icon from screen readers

Add aria-hidden="true" attribute to the "site under construction" banner icon
to prevent it from being announced by screen readers. Improves accessibility
by avoiding unnecessary and potentially confusing vocalization
This commit is contained in:
lebaudantoine
2025-03-05 14:11:06 +01:00
committed by aleb_the_flash
parent b5e7d7eeec
commit ce1c3d26d2

View File

@@ -24,7 +24,7 @@ export const FeedbackBanner = () => {
alignItems: 'center',
})}
>
<RiErrorWarningLine size={20} />
<RiErrorWarningLine size={20} aria-hidden="true" />
<Text as="p">{t('feedback.context')}</Text>
<div
className={css({