Skip to content

Commit

Permalink
Fix a11y: Change <aside> to <section> for donation promo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushsunny authored and alexgibson committed Sep 9, 2024
1 parent 04cb7fb commit 23805d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

<aside class="mofo-donate-promo mzp-l-content">
<section class="mofo-donate-promo mzp-l-content">
<div class="feature-wrapper">
<img loading="lazy" src="{{ static('img/home/2023/mofo-heart.svg') }}" alt="">
<div class="feature-info">
Expand All @@ -13,4 +13,4 @@ <h2>{{ ftl('home-mofo-donate-to-mofo-today') }}</h2>
</div>
<a href="{{ donate_url(location='featured-section') }}" class="mzp-c-button" data-cta-text="Donate" data-cta-type="link" data-cta-position="mid-page banner">{{ ftl('home-mofo-donate') }}</a>
</div>
</aside>
</section>

0 comments on commit 23805d1

Please sign in to comment.