mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-18 10:00:55 -04:00
fix(a11y): hide Fail icon from screen readers (#60157)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user