mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(a11y): hide decorative images from screen readers (#59786)
This commit is contained in:
parent
897277a037
commit
9c4ed1e2a4
@ -9,6 +9,7 @@ function FreeIcon(
|
||||
height='60'
|
||||
viewBox='0 0 61 60'
|
||||
fill='none'
|
||||
aria-hidden='true'
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
|
||||
@ -9,6 +9,7 @@ function CommunityIcon(
|
||||
height='60'
|
||||
viewBox='0 0 60 60'
|
||||
fill='none'
|
||||
aria-hidden='true'
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
|
||||
@ -9,6 +9,7 @@ function CurriculumIcon(
|
||||
height='60'
|
||||
viewBox='0 0 60 60'
|
||||
fill='none'
|
||||
aria-hidden='true'
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
|
||||
@ -9,6 +9,7 @@ function FreeIcon(
|
||||
height='60'
|
||||
viewBox='0 0 60 60'
|
||||
fill='none'
|
||||
aria-hidden='true'
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
|
||||
Loading…
Reference in New Issue
Block a user