Skip to content

Commit

Permalink
fix(a11y): hide GreenPass icon of donation modal from a11y tree (free…
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Mar 28, 2024
1 parent ab9c5c5 commit 4574f0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Donation/donation-text-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4574f0e

Please sign in to comment.