mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(a11y): hide GreenPass icon of donation modal from a11y tree (#54237)
This commit is contained in:
@@ -324,15 +324,15 @@ export const ModalBenefitList = () => {
|
||||
return (
|
||||
<ul>
|
||||
<li>
|
||||
<GreenPass aria-disabled={true} />
|
||||
<GreenPass aria-hidden={true} />
|
||||
{t('donate.help-us-more-certifications')}
|
||||
</li>
|
||||
<li>
|
||||
<GreenPass aria-disabled={true} />
|
||||
<GreenPass aria-hidden={true} />
|
||||
{t('donate.remove-donation-popups')}
|
||||
</li>
|
||||
<li>
|
||||
<GreenPass aria-disabled={true} />
|
||||
<GreenPass aria-hidden={true} />
|
||||
{t('donate.help-millions-learn')}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user