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

This commit is contained in:
Huyen Nguyen
2025-05-05 19:30:20 +07:00
committed by GitHub
parent 181321d90d
commit a8be31b6ea
2 changed files with 2 additions and 1 deletions

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>

View File

@@ -140,7 +140,7 @@ const LowerJawTips = ({
className='test-status fade-in'
aria-hidden={showFeedback}
>
<Fail aria-hidden='true' />
<Fail />
<p>{learnEncouragementText}</p>
</div>
<div