fix(a11y): hide Fail icon from screen readers (#60157)

This commit is contained in:
Huyen Nguyen
2025-05-05 18:00:20 +05:30
committed by GitHub
parent 181321d90d
commit a8be31b6ea
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ function RedFail(): JSX.Element {
viewBox='0 0 200 200'
width='50'
xmlns='http://www.w3.org/2000/svg'
aria-hidden='true'
>
<g>
<title>{t('icons.fail')}</title>
@@ -140,7 +140,7 @@ const LowerJawTips = ({
className='test-status fade-in'
aria-hidden={showFeedback}
>
<Fail aria-hidden='true' />
<Fail />
<p>{learnEncouragementText}</p>
</div>
<div